-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 734 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 734 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
FROM pasmod/miniconder2
RUN apt-get update && \
apt-get install -y build-essential libxml2-dev libxslt-dev libsm6 libxrender1 libfontconfig1 libicu-dev python-dev python-openssl && \
apt-get install -y libblas-dev liblapack-dev libatlas-base-dev gfortran && \
apt-get clean
RUN apt-get install -y python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
RUN conda install -y \
beautifulsoup4==4.4.1
RUN pip install redis
RUN pip install unidecode
RUN pip install numpy
RUN pip install --upgrade cython
RUN pip install lxml
RUN pip install dragnet
RUN pip install httplib2
RUN pip install gunicorn
WORKDIR /var/www
ADD . .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt