modified dockerfile

This commit is contained in:
udayakr 2019-02-10 16:27:41 +05:30 committed by GitHub
parent b9ef0cbd15
commit 37b77a6cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,4 +15,8 @@ RUN pip install pyinstaller && \
# Set the user to use when running a container # Set the user to use when running a container
USER pyinstaller USER pyinstaller
# Container will by default run 'pyinstaller --help'
ENTRYPOINT [ "pyinstaller" ]
CMD [ "--help" ]
CMD ["gunicorn", "-w 4", "main:app"] CMD ["gunicorn", "-w 4", "main:app"]