Spaces:
Runtime error
Runtime error
Commit
•
6ba0b2e
1
Parent(s):
79bead7
Update Dockerfile
Browse files- Dockerfile +12 -8
Dockerfile
CHANGED
@@ -1,10 +1,14 @@
|
|
1 |
-
# Use
|
2 |
-
FROM
|
3 |
|
4 |
-
|
|
|
5 |
|
6 |
-
#
|
7 |
-
|
8 |
-
|
9 |
-
#
|
10 |
-
|
|
|
|
|
|
|
|
1 |
+
# Use a base image with Python
|
2 |
+
FROM python:3.8
|
3 |
|
4 |
+
# Set the working directory
|
5 |
+
WORKDIR /app
|
6 |
|
7 |
+
# Install JupyterLab
|
8 |
+
RUN pip install jupyterlab
|
9 |
+
|
10 |
+
# Expose port 8080
|
11 |
+
EXPOSE 7860
|
12 |
+
|
13 |
+
# Start JupyterLab on port 8080
|
14 |
+
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--allow-root"]
|