-
Notifications
You must be signed in to change notification settings - Fork 512
/
Dockerfile
43 lines (33 loc) · 1.08 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
curl \
cmake \
&& rm -rf /var/lib/apt/lists/*
RUN curl -qsSLkO \
https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-`uname -p`.sh \
&& bash Miniconda3-latest-Linux-`uname -p`.sh -b \
&& rm Miniconda3-latest-Linux-`uname -p`.sh
ENV PATH=/root/miniconda3/bin:$PATH
RUN conda install -y \
h5py \
pandas \
jupyter \
matplotlib \
seaborn \
scikit-learn \
pandas
RUN conda config --append channels conda-forge
RUN conda install feather-format -yc conda-forge
RUN conda install -y tensorflow keras
RUN conda install -y JSAnimation
RUN apt-get update && apt-get install -y graphviz xvfb python-opengl swig
RUN pip install graphviz xgboost
RUN pip install gym box2d
RUN conda clean --yes --tarballs --packages --source-cache
COPY jupyter_notebook_config.py /root/.jupyter/
VOLUME /notebook
WORKDIR /notebook
EXPOSE 8888
CMD xvfb-run -s "-screen 0 1400x900x24" jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --NotebookApp.token=