forked from HDFGroup/h5serv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (26 loc) · 1.28 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
FROM python:3.6
MAINTAINER John Readey <[email protected]>
RUN cd /usr/local/src ; \
pip install --upgrade pip ; \
pip install h5py ; \
pip install tornado ; \
pip install requests ; \
pip install pytz ; \
pip install watchdog ; \
pip install pymongo
WORKDIR /usr/local/src
RUN git clone https://github.com/HDFGroup/hdf5-json.git ; \
cd hdf5-json ; \
python setup.py install ; \
cd .. ; \
mkdir h5serv
WORKDIR /usr/local/src/h5serv
COPY h5serv h5serv
COPY util util
COPY test test
COPY data /data
RUN cp /usr/local/src/hdf5-json/data/hdf5/tall.h5 /data ; \
ln -s /data
EXPOSE 5000
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]