annotate Dockerfile @ 29:890584020372

new container setup
author drewp@bigasterisk.com
date Sun, 12 Jul 2020 13:17:13 -0700
parents
children e86642cf7393
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang5:5000/base_x86
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
2
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
4
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
5 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
6
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
7 COPY requirements.txt ./
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
8
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
9 RUN pip3 install 'BeautifulSoup4'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
10 RUN pip3 install 'CherryPy==3.2.2'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
11 RUN pip3 install 'argparse==1.2.1'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
12 RUN pip3 install 'bottle==0.11.6'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
13 RUN pip3 install 'cssselect==0.7.1'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
14 RUN pip3 install 'gunicorn==0.17.2'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
15 RUN pip3 install 'http-parser==0.8.1'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
16 RUN pip3 install 'pymongo==2.4.2'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
17 RUN pip3 install 'pystache==0.5.3'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
18 RUN pip3 install 'python-dateutil'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
19 RUN pip3 install 'six'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
20 RUN pip3 install 'pyjade==4.0.0'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
21 RUN pip3 install 'lxml==4.5.2'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
22 RUN pip3 install 'requests==2.24.0'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
23
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
24
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
25 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
26 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
27
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
28 COPY *.py run ./
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
29 COPY static static/
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
30 COPY template template/
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
31
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
32
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
33 CMD [ "./run" ]