aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 570c4adb63439f558ad3d1cc87267987a37d0d5b (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 /app

ADD requirements.txt /app

WORKDIR /app

RUN pip install -r requirements.txt

ADD . /app

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

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