forked from mengdong/python-ml-structure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (33 loc) · 779 Bytes
/
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
FROM ubuntu:17.10
MAINTAINER Dong Meng <[email protected]>
# Install build-essential, git, wget and other dependencies
RUN apt-get update && apt-get install -y \
build-essential \
git \
curl \
libfreetype6-dev \
libopenblas-dev \
libopencv-dev \
liblapack-dev \
python \
python-dev \
python-pip \
python-setuptools \
python-numpy \
graphviz \
python-setuptools \
wget \
screen \
rsync \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
rm get-pip.py
COPY requirements.txt /tmp/.
WORKDIR /tmp
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 6006 8888
WORKDIR "/root"
CMD ["/bin/bash"]