Use ENTRYPOINT instead of CMD so additional arguments can be supplied for docker run.

This commit is contained in:
Pan Long 2017-12-15 01:33:22 +08:00
parent 2ac8b685d6
commit 501134f14c

View File

@ -20,4 +20,4 @@ RUN pip install -r requirements.txt
# Install and execute
COPY . /freqtrade/
RUN pip install -e .
CMD ["freqtrade"]
ENTRYPOINT ["freqtrade"]