aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 194a42aa7277b164ef815a5e118868aa8fe0a185 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.8-alpine
MAINTAINER Galen Guyer <galen@galenguyer.com>

RUN mkdir /opt/demo

ADD requirements.txt /opt/demo

WORKDIR /opt/demo

RUN pip install -r requirements.txt

ADD . /opt/demo

RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime

CMD ["gunicorn", "demo:APP", "--bind=0.0.0.0:8080", "--access-logfile=-"]