move default arguments to entrypoint

This commit is contained in:
Davide Alberani 2017-11-28 21:15:47 +01:00
parent 9ca744d8b6
commit 165ac98677

View file

@ -19,5 +19,4 @@ RUN \
COPY . /eventman
WORKDIR /eventman/
ENTRYPOINT ["./eventman_server.py"]
CMD ["--debug", "--mongo_url=mongodb://mongo"]
ENTRYPOINT ["./eventman_server.py", "--mongo_url=mongodb://mongo", "--debug"]