mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-10 16:01:00 +02:00
Update Dockerfile
This commit is contained in:
@@ -3,9 +3,8 @@ ARG BUILD_VERSION
|
|||||||
FROM freqtradeorg/freqtrade:latest
|
FROM freqtradeorg/freqtrade:latest
|
||||||
ARG BASHIO_VERSION=0.13.1
|
ARG BASHIO_VERSION=0.13.1
|
||||||
|
|
||||||
COPY rootfs /
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
COPY rootfs /
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
###################
|
###################
|
||||||
@@ -23,8 +22,11 @@ RUN \
|
|||||||
########################
|
########################
|
||||||
&& chmod a+x /run.sh
|
&& chmod a+x /run.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/run.sh" ]
|
VOLUME [ "/data" ]
|
||||||
WORKDIR [ "/" ]
|
WORKDIR /
|
||||||
|
RUN chmod 777 /run.sh
|
||||||
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
CMD [ "/run.sh" ]
|
||||||
|
|
||||||
# use /data instead of /config for hass.io environment
|
# use /data instead of /config for hass.io environment
|
||||||
# && sed -i "s|/config|/share/freqtrade|g" /etc/services.d/freqtrade/run \
|
# && sed -i "s|/config|/share/freqtrade|g" /etc/services.d/freqtrade/run \
|
||||||
|
|||||||
Reference in New Issue
Block a user