diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-10-31 11:58:32 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-10-31 11:59:58 -0400 |
commit | 1009968ea0ca43ef1b1bc421f7694f1f70707948 (patch) | |
tree | f40c80a45095782290fb1af52bd7e683d6a74710 /Dockerfile |
Initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
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 <galen@galenguyer.com> + +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=-"] |