diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/app/alpine/3.6/Dockerfile | 4 | ||||
-rw-r--r-- | docker/app/alpine/3.7/Dockerfile | 2 | ||||
-rw-r--r-- | docker/app/stretch/3.6/Dockerfile | 4 | ||||
-rw-r--r-- | docker/app/stretch/3.7/Dockerfile | 3 |
4 files changed, 8 insertions, 5 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile index 2819c8d6..e4b75649 100644 --- a/docker/app/alpine/3.6/Dockerfile +++ b/docker/app/alpine/3.6/Dockerfile @@ -14,8 +14,8 @@ RUN apk add \ COPY . /app WORKDIR /app - RUN python3 -m pip install .[$EXTRAS] + RUN apk del \ autoconf \ automake \ @@ -23,4 +23,4 @@ RUN apk del \ gcc \ git -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"] diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile index f2c7bcdf..33a6c12c 100644 --- a/docker/app/alpine/3.7/Dockerfile +++ b/docker/app/alpine/3.7/Dockerfile @@ -14,8 +14,8 @@ RUN apk add \ COPY . /app WORKDIR /app - RUN python3 -m pip install .[$EXTRAS] + RUN apk del \ autoconf \ automake \ diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile index 46bc1247..0eb064ea 100644 --- a/docker/app/stretch/3.6/Dockerfile +++ b/docker/app/stretch/3.6/Dockerfile @@ -13,6 +13,8 @@ RUN apt-get install -y \ libpq-dev +COPY . /app +WORKDIR /app RUN python3 -m pip install .[$EXTRAS] -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"] diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile index 0290b800..9a838fd9 100644 --- a/docker/app/stretch/3.7/Dockerfile +++ b/docker/app/stretch/3.7/Dockerfile @@ -12,7 +12,8 @@ RUN apt-get install -y \ libc-dev \ libpq-dev - +COPY . /app +WORKDIR /app RUN python3 -m pip install .[$EXTRAS] CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati |