Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -9,6 +9,14 @@ WORKDIR /app
|
|
9 |
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"]
|
14 |
# CMD ["pwd", "&&", "gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "jupyter.jupyter_server:app"]
|
|
|
9 |
COPY --chown=user ./requirements.txt requirements.txt
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
+
# Kernel stuff
|
13 |
+
RUN pip install --upgrade pip flask docker requests ipython jupyter-client ipykernel
|
14 |
+
RUN ipython kernel install --name "python3" --user
|
15 |
+
|
16 |
+
# Extra requirements
|
17 |
+
RUN pip install pandas scikit-learn matplotlib seaborn
|
18 |
+
|
19 |
+
|
20 |
COPY --chown=user . /app
|
21 |
# CMD ["uvicorn", "app.jupyter.jupyter_server:app", "--host", "0.0.0.0", "--port", "7860"]
|
22 |
# CMD ["pwd", "&&", "gunicorn", "-w", "1", "-b", "0.0.0.0:7860", "jupyter.jupyter_server:app"]
|