Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
FROM ubuntu:22.04
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
-
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
|
| 5 |
ENV PYTHONUNBUFFERED=1
|
| 6 |
|
| 7 |
RUN apt-get update && \
|
|
@@ -13,8 +12,10 @@ RUN apt-get update && \
|
|
| 13 |
wget \
|
| 14 |
git \
|
| 15 |
nano \
|
|
|
|
| 16 |
ca-certificates \
|
| 17 |
procps \
|
|
|
|
| 18 |
&& rm -rf /var/lib/apt/lists/*
|
| 19 |
|
| 20 |
RUN python3 -m pip install --no-cache-dir jupyterlab
|
|
@@ -28,5 +29,5 @@ CMD ["python3", "-m", "jupyter", "lab", \
|
|
| 28 |
"--port=7860", \
|
| 29 |
"--no-browser", \
|
| 30 |
"--allow-root", \
|
| 31 |
-
"--ServerApp.
|
| 32 |
-
"--ServerApp.
|
|
|
|
| 1 |
FROM ubuntu:22.04
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
| 4 |
ENV PYTHONUNBUFFERED=1
|
| 5 |
|
| 6 |
RUN apt-get update && \
|
|
|
|
| 12 |
wget \
|
| 13 |
git \
|
| 14 |
nano \
|
| 15 |
+
vim \
|
| 16 |
ca-certificates \
|
| 17 |
procps \
|
| 18 |
+
openssh-client \
|
| 19 |
&& rm -rf /var/lib/apt/lists/*
|
| 20 |
|
| 21 |
RUN python3 -m pip install --no-cache-dir jupyterlab
|
|
|
|
| 29 |
"--port=7860", \
|
| 30 |
"--no-browser", \
|
| 31 |
"--allow-root", \
|
| 32 |
+
"--ServerApp.allow_remote_access=True", \
|
| 33 |
+
"--ServerApp.token="]
|