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

RUN apk add tzdata && \
    cp /usr/share/zoneinfo/America/New_York /etc/localtime && \
    echo 'America/New_York' > /etc/timezone && \
    apk del tzdata

WORKDIR /app

ADD requirements.txt /app

RUN pip install -r requirements.txt

ADD . /app

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