-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (19 loc) · 752 Bytes
/
Dockerfile
File metadata and controls
36 lines (19 loc) · 752 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
33
34
35
36
FROM python:3.6.6-jessie
ENV LANG en_US.UTF-8
# install dependencies;
#RUN apt-get update -y
#RUN apt-get install software-properties-common python-software-properties -y
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install python3-pip python3-numpy -y
RUN pip3.6 install --upgrade pip
COPY ./requirements.txt /opt/japonicus/requirements.txt
# those are required to build other python modules, so install first;
RUN pip3.6 install numpy cython pandas
RUN pip3.6 install --ignore-installed -r /opt/japonicus/requirements.txt
WORKDIR /opt/japonicus/
COPY . /opt/japonicus
EXPOSE 5000
RUN python3.6 --version
ENTRYPOINT ["python3.6", "/opt/japonicus/japonicus-run"]
CMD ["python3.6", "/opt/japonicus/japonicus-run", "--help"]