-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
59 lines (48 loc) · 1.06 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM ubuntu
MAINTAINER [email protected]
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
RUN curl -qsSLkO \
https://repo.continuum.io/miniconda/Miniconda-latest-Linux-`uname -p`.sh \
&& bash Miniconda-latest-Linux-`uname -p`.sh -b \
&& rm Miniconda-latest-Linux-`uname -p`.sh
ENV PATH=/root/miniconda2/bin:$PATH
RUN conda install -y \
h5py \
pandas \
theano \
&& conda clean --yes --tarballs --packages --source-cache \
&& pip install --upgrade pip\
&& pip install --upgrade -I setuptools \
&& pip install --upgrade \
keras \
tensorflow \
pymongo
RUN conda install -y \
flask \
flask-cors \
gevent \
requests \
jupyter \
pytorch \
matplotlib \
seaborn \
scikit-image \
scikit-learn \
numpy \
scipy \
nltk
RUN pip install \
jupyterlab
VOLUME /notebook
WORKDIR /notebook
EXPOSE 8888
EXPOSE 7171
COPY keras-server /notebook/
COPY my.sh /
RUN chmod +x /my.sh
CMD ["/bin/bash","/my.sh"]