OneApiHarmon commited on
Commit
0ebd3f7
1 Parent(s): c92f653

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # Use a base image with Python
2
  FROM python:3.8
3
 
 
 
 
4
  # Set the working directory
5
  WORKDIR /app
6
 
@@ -10,8 +13,5 @@ RUN pip install jupyterlab
10
  # Expose port 8080
11
  EXPOSE 7860
12
 
13
- #Switch to user root
14
- USER root
15
-
16
  # Start JupyterLab on port 8080
17
  CMD ["sudo", "jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--allow-root"]
 
1
  # Use a base image with Python
2
  FROM python:3.8
3
 
4
+ #Switch to user root
5
+ USER root
6
+
7
  # Set the working directory
8
  WORKDIR /app
9
 
 
13
  # Expose port 8080
14
  EXPOSE 7860
15
 
 
 
 
16
  # Start JupyterLab on port 8080
17
  CMD ["sudo", "jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--allow-root"]