WendellSchiller commited on
Commit
6ba0b2e
1 Parent(s): 79bead7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -8
Dockerfile CHANGED
@@ -1,10 +1,14 @@
1
- # Use the base image
2
- FROM fredblgr/ubuntu-novnc:20.04
3
 
4
- USER root
 
5
 
6
- # Set the environment variable for screen resolution
7
- ENV RESOLUTION 1707x1067
8
-
9
- # Start the command to run NoVNC
10
- CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
 
 
 
 
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"]