forked from BYU-NLP-Lab/topicalguide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (36 loc) · 737 Bytes
/
Dockerfile
File metadata and controls
42 lines (36 loc) · 737 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
39
40
41
42
FROM fedora:20
MAINTAINER Ethan Garofolo <[email protected]>
RUN useradd web -d /home/web -s /bin/bash
RUN yum install -y \
automake \
blas-devel \
blas \
curl-devel \
expat-devel \
gcc \
gcc-c++ \
gettext-devel \
git \
ipython \
java-1.7.0-openjdk \
lapack-devel \
make \
numpy \
openssl-devel \
postgresql-devel \
python-devel \
python-matplotlib \
python-nose \
python-pandas \
sympy \
zlib-devel
ADD vendor/get-pip.py /
ADD requirements.txt /
RUN python get-pip.py
RUN pip install -r requirements.txt
ADD . /home/web/src/
RUN chown -R web:web /home/web/
USER web
WORKDIR /home/web/src/
ENV TOPICAL_GUIDE_WORKING_DIR /home/web/topical_guide_working_dir
ENTRYPOINT ["/bin/bash"]