Use ENTRYPOINT instead of CMD so additional arguments can be supplied for docker run. (#184)

This commit is contained in:
Pan Long 2017-12-15 01:41:40 +08:00 committed by Michael Egger
parent 2ac8b685d6
commit 89ee0654f4

View File

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