diff options
Diffstat (limited to 'docker/app/stretch')
| -rw-r--r-- | docker/app/stretch/3.6/Dockerfile | 5 | ||||
| -rw-r--r-- | docker/app/stretch/3.7/Dockerfile | 4 |
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 |