From cdf57428a68745d3178e8f00122dd4818f7ae423 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Mon, 17 Sep 2018 23:10:13 +0200 Subject: Properly add build directory. --- docker/app/alpine/3.6/Dockerfile | 4 ++-- docker/app/alpine/3.7/Dockerfile | 2 +- docker/app/stretch/3.6/Dockerfile | 4 +++- docker/app/stretch/3.7/Dockerfile | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) (limited to 'docker') 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 -- cgit v1.2.3