Spaces:
Running
Running
OneApiHarmon
commited on
Commit
•
4b58f4d
1
Parent(s):
903ab12
Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"]
|