entrypoint logic

This commit is contained in:
Alexandre
2021-11-13 13:02:39 +01:00
parent 2acb25daf8
commit 11b402cb10
16 changed files with 144 additions and 76 deletions

View File

@@ -27,9 +27,9 @@ RUN \
VOLUME [ "/data" ]
WORKDIR /
RUN chmod 777 /run.sh
RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/bin/bash" ]
CMD [ "/run.sh" ]
CMD [ "/entrypoint.sh" ]
# use /data instead of /config for hass.io environment
# && sed -i "s|/config|/share/freqtrade|g" /etc/services.d/freqtrade/run \