Lockthewi commited on
Commit
e7ff12a
·
verified ·
1 Parent(s): f78674b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM jupyter/scipy-notebook:latest
2
+ USER root
3
+ RUN apt-get update && \
4
+ apt-get install -y rclone net-tools nmap && \
5
+ rm -rf /var/lib/apt/lists/*
6
+ # Set the working directory in the container
7
+ WORKDIR /home/jovyan/work
8
+
9
+ # Expose the port the notebook runs on
10
+ EXPOSE 7860
11
+
12
+ # Copy the current directory contents into the container at /home/jovyan/work
13
+ COPY . /home/jovyan/work
14
+
15
+ # Run Jupyter Notebook upon container startup with token authentication enabled
16
+ CMD ["jupyter", "notebook", "--ip='*'", "--port=7860", "--no-browser", "--allow-root", "--NotebookApp.token='amma1000'"]