29
|
1 FROM bang5:5000/base_x86
|
|
2
|
|
3 WORKDIR /opt
|
|
4
|
|
5 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
|
|
6
|
|
7 COPY requirements.txt ./
|
|
8
|
|
9 RUN pip3 install 'BeautifulSoup4'
|
|
10 RUN pip3 install 'CherryPy==3.2.2'
|
|
11 RUN pip3 install 'argparse==1.2.1'
|
|
12 RUN pip3 install 'bottle==0.11.6'
|
|
13 RUN pip3 install 'cssselect==0.7.1'
|
|
14 RUN pip3 install 'gunicorn==0.17.2'
|
|
15 RUN pip3 install 'http-parser==0.8.1'
|
|
16 RUN pip3 install 'pymongo==2.4.2'
|
|
17 RUN pip3 install 'pystache==0.5.3'
|
|
18 RUN pip3 install 'python-dateutil'
|
|
19 RUN pip3 install 'six'
|
|
20 RUN pip3 install 'pyjade==4.0.0'
|
|
21 RUN pip3 install 'lxml==4.5.2'
|
|
22 RUN pip3 install 'requests==2.24.0'
|
|
23
|
|
24
|
|
25 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
|
|
26 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
|
|
27
|
|
28 COPY *.py run ./
|
|
29 COPY static static/
|
|
30 COPY template template/
|
|
31
|
|
32
|
|
33 CMD [ "./run" ]
|