annotate Dockerfile @ 30:e86642cf7393
style and requirements.txt cleanup
author |
drewp@bigasterisk.com |
date |
Sun, 12 Jul 2020 13:33:54 -0700 |
parents |
890584020372 |
children |
b82432594778 |
rev |
line source |
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 --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
|
|
10
|
|
11 COPY *.py run ./
|
|
12 COPY static static/
|
|
13 COPY template template/
|
|
14
|
|
15
|
|
16 CMD [ "./run" ]
|