srmbuti commited on
Commit
c94a1d7
·
verified ·
1 Parent(s): cde4f52

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a base image with Python and Jupyter Notebook installed
2
+ FROM jupyter/scipy-notebook:latest
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /home/jovyan/work
6
+
7
+ # Expose the port the notebook runs on
8
+ EXPOSE 7860
9
+
10
+ # Copy the current directory contents into the container at /home/jovyan/work
11
+ COPY . /home/jovyan/work
12
+
13
+ # Run Jupyter Notebook upon container startup
14
+ CMD ["jupyter", "notebook", "--ip='*'", "--port=7860", "--no-browser", "--allow-root"]