diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-10-31 12:05:31 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-10-31 12:05:31 -0400 |
commit | efab60744e7284e245bbd6266755ab3ca1a37200 (patch) | |
tree | b79c22eebbdaf16c1d800e596bc7c49a772662d2 /Dockerfile | |
parent | 1009968ea0ca43ef1b1bc421f7694f1f70707948 (diff) |
Rename demo to poller
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,16 +1,16 @@ FROM python:3.8-alpine MAINTAINER Galen Guyer <galen@galenguyer.com> -RUN mkdir /opt/demo +RUN mkdir /app -ADD requirements.txt /opt/demo +ADD requirements.txt /app -WORKDIR /opt/demo +WORKDIR /app RUN pip install -r requirements.txt -ADD . /opt/demo +ADD . /app RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime -CMD ["gunicorn", "demo:APP", "--bind=0.0.0.0:8080", "--access-logfile=-"] +CMD ["gunicorn", "poller:APP", "--bind=0.0.0.0:8080", "--access-logfile=-"] |