xfcxcxcdfdfd commited on
Commit
4c32c08
·
verified ·
1 Parent(s): 87c343f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the latest Ubuntu image
2
+ FROM ubuntu:latest
3
+
4
+ # Update and install required packages
5
+ RUN apt-get update && apt-get install -y \
6
+ python3 \
7
+ python3-pip
8
+
9
+ # Set the working directory
10
+ WORKDIR /app
11
+
12
+ # Install JupyterLab
13
+ RUN pip3 install jupyterlab
14
+
15
+ # Expose port 8080
16
+ EXPOSE 8080
17
+
18
+ # Start JupyterLab on port 8080 without authentication
19
+ CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8080", "--no-browser", "--allow-root", "--NotebookApp.token=''"]