Mettre à jour la commande CMD dans le Dockerfile pour utiliser uvicorn
This commit is contained in:
parent
dce4482e46
commit
a08ae87415
1 changed files with 1 additions and 1 deletions
|
@ -22,4 +22,4 @@ RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /
|
|||
USER appuser
|
||||
|
||||
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "main:app"]
|
||||
CMD ["uvicorn", "main:app"]
|
Loading…
Add table
Add a link
Reference in a new issue