mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 15:21:50 +02:00
Update Dockerfile
This commit is contained in:
@@ -13,7 +13,14 @@ RUN \
|
|||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
| tar -xzf - --strip 1 -C /tmp/bashio \
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -rf /tmp/bashio
|
&& rm -rf /tmp/bashio \
|
||||||
|
\
|
||||||
|
########################
|
||||||
|
# Prepares environment #
|
||||||
|
########################
|
||||||
|
&& freqtrade create-userdir --userdir /data \
|
||||||
|
&& freqtrade new-config --config /data/config.json
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
|
|||||||
Reference in New Issue
Block a user