Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -10,4 +10,5 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
10 |
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"]
|
|
|
|
10 |
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 ["gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "app.jupyter.jupyter_server:app:app"]
|