aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/stretch')
-rw-r--r--docker/app/stretch/3.6/Dockerfile11
-rw-r--r--docker/app/stretch/3.7/Dockerfile13
2 files changed, 17 insertions, 7 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
index a52317da..0e840899 100644
--- a/docker/app/stretch/3.6/Dockerfile
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -2,11 +2,16 @@ FROM python:3.6-stretch
ARG EXTRAS=deploy
-RUN apt-get update -y
-RUN apt-get install -y \
+RUN apt-get update -y \
+ && \
+ apt-get install --no-install-recommends -y \
gcc \
libc-dev \
- libpq-dev
+ libpq-dev \
+ && \
+ apt-get clean \
+ && \
+ rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY setup.py /app/setup.py
diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile
index 1e832e32..0d4a9f3e 100644
--- a/docker/app/stretch/3.7/Dockerfile
+++ b/docker/app/stretch/3.7/Dockerfile
@@ -2,11 +2,16 @@ FROM python:3.7-stretch
ARG EXTRAS=deploy
-RUN apt-get update -y
-RUN apt-get install -y \
+RUN apt-get update -y \
+ && \
+ apt-get install --no-install-recommends -y \
gcc \
libc-dev \
- libpq-dev
+ libpq-dev \
+ && \
+ apt-get clean \
+ && \
+ rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY setup.py /app/setup.py
@@ -18,4 +23,4 @@ RUN apt-get purge -y \
libc-dev \
libpq-dev
-CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati
+CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]