-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (27 loc) · 855 Bytes
/
Dockerfile
File metadata and controls
32 lines (27 loc) · 855 Bytes
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
FROM ubuntu:14.04
MAINTAINER UEI Corporation
ENV TF_BINARY_URL https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl
ENV APPROOT /cslaier
ENV CSLAIER_CONFIG $APPROOT/docker_config/cslaier.cfg
RUN apt-get -y update && \
apt-get -y install \
python \
python-dev \
python-pip \
python-opencv \
python-matplotlib \
sqlite3 \
libhdf5-dev \
nkf \
python-scipy && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip install --upgrade $TF_BINARY_URL && \
mkdir -p $APPROOT
EXPOSE 8080
WORKDIR $APPROOT
COPY ./ $APPROOT
RUN pip install -r requirements.txt && \
sh setup.sh
# http://stackoverflow.com/questions/31768441/how-to-persist-ln-in-docker-with-ubuntu
CMD sh -c 'ln -s /dev/null /dev/raw1394'; sh run.sh