From efab60744e7284e245bbd6266755ab3ca1a37200 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 31 Oct 2020 12:05:31 -0400 Subject: Rename demo to poller --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 194a42a..570c4ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ FROM python:3.8-alpine MAINTAINER Galen Guyer -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=-"] -- cgit v1.2.3