aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-19 21:15:40 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-19 21:25:40 +0200
commitf25e737aa6a2215a40049afdb0245d16408fd489 (patch)
treecc2cd079ae9470889276f3cedc847299f7004853 /docker/app/stretch
parentIgnore all unneeded files. (diff)
Remove headers after compilation.
Diffstat (limited to 'docker/app/stretch')
-rw-r--r--docker/app/stretch/3.6/Dockerfile5
-rw-r--r--docker/app/stretch/3.7/Dockerfile4
2 files changed, 6 insertions, 3 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
index 19fe5918..a52317da 100644
--- a/docker/app/stretch/3.6/Dockerfile
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -8,13 +8,14 @@ RUN apt-get install -y \
libc-dev \
libpq-dev
-
WORKDIR /app
COPY setup.py /app/setup.py
RUN python3 -m pip install .[$EXTRAS]
COPY . .
RUN apt-get purge -y \
- gcc
+ gcc \
+ libc-dev \
+ libpq-dev
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]
diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile
index 70d18dbc..1e832e32 100644
--- a/docker/app/stretch/3.7/Dockerfile
+++ b/docker/app/stretch/3.7/Dockerfile
@@ -14,6 +14,8 @@ RUN python3 -m pip install .[$EXTRAS]
COPY . .
RUN apt-get purge -y \
- gcc
+ gcc \
+ libc-dev \
+ libpq-dev
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati