Create Dockerfile
Browse files- 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"]
|