-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (29 loc) · 809 Bytes
/
Dockerfile
File metadata and controls
38 lines (29 loc) · 809 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
37
38
FROM ubuntu:14.04
MAINTAINER Sami Moustachir <moustachir.sami@gmail.com>
#ENV https_proxy=
#ENV http_proxy=
# ensure local python is preferred over distribution python
ENV PATH /usr/local/bin:$PATH
RUN apt-get update && apt-get install -y \
build-essential \
wget \
python python-dev \
python-pip \
python-virtualenv \
automake
COPY . /app
RUN pip install -r app/requirements.txt
RUN cd app && \
mkdir -p data && \
wget https://gforge.inria.fr/frs/download.php/file/36209/melt-2.0b12.tar.gz\
&& tar -zxvf melt-2.0b12.tar.gz \
&& cd melt-2.0b12 \
&& aclocal \
&& autoconf \
&& automake -a \
&& ./configure \
&& make \
&& sudo make install
VOLUME /app/data
WORKDIR /app/melt_app/src
CMD ["python", "melt_app.py"]