diff options
| -rw-r--r-- | docker/app/alpine/3.6/Dockerfile | 3 | ||||
| -rw-r--r-- | docker/app/alpine/3.7/Dockerfile | 3 | ||||
| -rw-r--r-- | docker/app/stretch/3.6/Dockerfile | 3 | ||||
| -rw-r--r-- | docker/app/stretch/3.7/Dockerfile | 3 | 
4 files changed, 8 insertions, 4 deletions
| diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile index e4b75649..8f8116c6 100644 --- a/docker/app/alpine/3.6/Dockerfile +++ b/docker/app/alpine/3.6/Dockerfile @@ -12,9 +12,10 @@ RUN apk add \          musl-dev \          postgresql-dev -COPY . /app  WORKDIR /app +COPY setup.py /app/setup.py  RUN python3 -m pip install .[$EXTRAS] +COPY . .  RUN apk del \          autoconf \ diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile index 33a6c12c..8c413932 100644 --- a/docker/app/alpine/3.7/Dockerfile +++ b/docker/app/alpine/3.7/Dockerfile @@ -12,9 +12,10 @@ RUN apk add \          musl-dev \          postgresql-dev -COPY . /app  WORKDIR /app +COPY setup.py /app/setup.py  RUN python3 -m pip install .[$EXTRAS] +COPY . .  RUN apk del \          autoconf \ diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile index 0eb064ea..d12c9406 100644 --- a/docker/app/stretch/3.6/Dockerfile +++ b/docker/app/stretch/3.6/Dockerfile @@ -13,8 +13,9 @@ RUN apt-get install -y \                  libpq-dev -COPY . /app  WORKDIR /app +COPY setup.py /app/setup.py  RUN python3 -m pip install .[$EXTRAS] +COPY . .  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 9a838fd9..42187a9b 100644 --- a/docker/app/stretch/3.7/Dockerfile +++ b/docker/app/stretch/3.7/Dockerfile @@ -12,8 +12,9 @@ RUN apt-get install -y \                  libc-dev \                  libpq-dev -COPY . /app  WORKDIR /app +COPY setup.py /app/setup.py  RUN python3 -m pip install .[$EXTRAS] +COPY . .  CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati | 
