From 1009968ea0ca43ef1b1bc421f7694f1f70707948 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 31 Oct 2020 11:58:32 -0400 Subject: Initial commit --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..194a42a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.8-alpine +MAINTAINER Galen Guyer + +RUN mkdir /opt/demo + +ADD requirements.txt /opt/demo + +WORKDIR /opt/demo + +RUN pip install -r requirements.txt + +ADD . /opt/demo + +RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime + +CMD ["gunicorn", "demo:APP", "--bind=0.0.0.0:8080", "--access-logfile=-"] -- cgit v1.2.3