forked from falric05/AII-Flare-prediction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (21 loc) · 1.1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Specify the base image
FROM python:3.8
# Update the package manager and install a simple module. The RUN command
# will execute a command on the container and then save a snapshot of the
# results. The last of these snapshots will be the final image
RUN apt-get update -y && apt-get install -y zip
# Install additional Python packages
RUN pip install jupyter==1.0.0 pandas==1.4.4 scikit-learn==1.1.2 matplotlib==3.5.3 \
ipympl==0.9.2 rise==5.7.1 jupyter-contrib-nbextensions==0.5.1 \
tensorflow==2.11 tqdm==4.64.1
RUN jupyter contrib nbextension install --system
RUN pip install --upgrade tensorflow-probability
# RUN pip install jupyter pandas scikit-learn matplotlib ipympl rise jupyter-contrib-nbextensions pydot tensorflow-lattice tensorflow-probability pandas jsonschema webcolors
# RUN jupyter contrib nbextension install --system
# Make sure the contents of our repo are in /app
COPY . /app
# Specify working directory
WORKDIR /app/notebooks
# Use CMD to specify the starting command
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", \
"--ip=0.0.0.0", "--allow-root"]