Surrendra commited on
Commit
b20532b
·
verified ·
1 Parent(s): 337fdf8

Another fix

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -26,4 +26,6 @@ USER appuser
26
  RUN pip install gunicorn
27
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
28
  #CMD ["/home/appuser/.local/bin/gunicorn", "--bind", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "setup:app"]
29
- CMD ["python", "-m", "gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "setup:app"]
 
 
 
26
  RUN pip install gunicorn
27
  # During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
28
  #CMD ["/home/appuser/.local/bin/gunicorn", "--bind", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "setup:app"]
29
+ CMD ["python", "-m", "gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "setup:app"]
30
+ RUN chmod +x /home/appuser/.local/bin/gunicorn
31
+ CMD ["/home/appuser/.local/bin/gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "setup:app"]