Update Dockerfile
Browse files- Dockerfile +20 -10
Dockerfile
CHANGED
@@ -1,10 +1,20 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the official Jupyter Docker image
|
2 |
+
FROM jupyter/base-notebook:latest
|
3 |
+
|
4 |
+
# Install Jupyter Lab and additional packages
|
5 |
+
RUN pip install --no-cache-dir \
|
6 |
+
jupyterlab \
|
7 |
+
torch \
|
8 |
+
tensorflow \
|
9 |
+
transformers \
|
10 |
+
datasets \
|
11 |
+
matplotlib \
|
12 |
+
seaborn \
|
13 |
+
scikit-learn \
|
14 |
+
pandas
|
15 |
+
|
16 |
+
# Expose the port Jupyter Lab will run on
|
17 |
+
EXPOSE 8888
|
18 |
+
|
19 |
+
# Start Jupyter Lab
|
20 |
+
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root", "--NotebookApp.token=''"]
|