mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-12 00:50:31 +02:00
Update Dockerfile
This commit is contained in:
@@ -3,6 +3,8 @@ ARG BUILD_VERSION
|
||||
FROM freqtradeorg/freqtrade:latest
|
||||
ARG BASHIO_VERSION=0.13.1
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
USER root
|
||||
RUN \
|
||||
###################
|
||||
@@ -19,8 +21,8 @@ RUN \
|
||||
# Prepares environment #
|
||||
########################
|
||||
&& freqtrade create-userdir --userdir /data \
|
||||
&& freqtrade new-config --config /data/config.json
|
||||
|
||||
&& freqtrade new-config --config /data/config.json \
|
||||
&& chmod a+x run.sh
|
||||
|
||||
|
||||
# use /data instead of /config for hass.io environment
|
||||
|
||||
Reference in New Issue
Block a user