modified dockerfile
This commit is contained in:
parent
b9ef0cbd15
commit
37b77a6cdd
1 changed files with 4 additions and 0 deletions
|
@ -15,4 +15,8 @@ RUN pip install pyinstaller && \
|
|||
# Set the user to use when running a container
|
||||
USER pyinstaller
|
||||
|
||||
# Container will by default run 'pyinstaller --help'
|
||||
ENTRYPOINT [ "pyinstaller" ]
|
||||
CMD [ "--help" ]
|
||||
|
||||
CMD ["gunicorn", "-w 4", "main:app"]
|
||||
|
|
Loading…
Reference in a new issue