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
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 --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
10
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
11 COPY *.py run ./
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
12 COPY static static/
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
13 COPY template template/
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
14
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
15
890584020372 new container setup
drewp@bigasterisk.com
parents:
diff changeset
16 CMD [ "./run" ]