This commit is contained in:
Alexandre
2021-10-30 18:02:39 +02:00
parent 0d57c9f2b7
commit 4910540c23

View File

@@ -20,6 +20,9 @@ RUN \
########################
# Prepares environment #
########################
&& git clone -b develop https://github.com/freqtrade/freqtrade.git \
&& cd freqtrade \
&& ./setup.sh --install \
&& chmod a+x /run.sh
VOLUME [ "/data" ]
@@ -27,7 +30,7 @@ WORKDIR /
RUN chmod 777 /run.sh
ENTRYPOINT [ "/bin/bash" ]
CMD [ "/run.sh" ]
# 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/cont-init.d/50-config \