aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch/3.6/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/stretch/3.6/Dockerfile')
-rw-r--r--docker/app/stretch/3.6/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
index 0eb064ea..d12c9406 100644
--- a/docker/app/stretch/3.6/Dockerfile
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -13,8 +13,9 @@ RUN apt-get install -y \
libpq-dev
-COPY . /app
WORKDIR /app
+COPY setup.py /app/setup.py
RUN python3 -m pip install .[$EXTRAS]
+COPY . .
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]