lvwerra HF staff commited on
Commit
467ca85
1 Parent(s): 6b7911e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -11,4 +11,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=user . /app
13
  # CMD ["uvicorn", "app.jupyter.jupyter_server:app", "--host", "0.0.0.0", "--port", "7860"]
14
- CMD ["pwd", "&&", "gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "jupyter.jupyter_server:app"]
 
 
11
 
12
  COPY --chown=user . /app
13
  # CMD ["uvicorn", "app.jupyter.jupyter_server:app", "--host", "0.0.0.0", "--port", "7860"]
14
+ # CMD ["pwd", "&&", "gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "jupyter.jupyter_server:app"]
15
+ CMD pwd && gunicorn -w 1 -b 0.0.0.0:7860 jupyter.jupyter_server:app