diff options
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,16 +1,17 @@ FROM python:3.8-alpine MAINTAINER Galen Guyer <galen@galenguyer.com> -RUN mkdir /app - -ADD requirements.txt /app +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 -RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime - CMD ["gunicorn", "poller:APP", "--bind=0.0.0.0:8080", "--access-logfile=-"] |