aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine/3.7/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/alpine/3.7/Dockerfile')
-rw-r--r--docker/app/alpine/3.7/Dockerfile17
1 files changed, 15 insertions, 2 deletions
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
index 4583840b..f2c7bcdf 100644
--- a/docker/app/alpine/3.7/Dockerfile
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -2,12 +2,25 @@ FROM python:3.7-alpine
ARG EXTRAS=deploy
-RUN apk add git libpq postgresql-dev gcc cmake autoconf automake musl-dev
+RUN apk add \
+ autoconf \
+ automake \
+ cmake \
+ gcc \
+ git \
+ libpq \
+ musl-dev \
+ postgresql-dev
COPY . /app
WORKDIR /app
RUN python3 -m pip install .[$EXTRAS]
-RUN apk del git gcc cmake autoconf automake
+RUN apk del \
+ autoconf \
+ automake \
+ cmake \
+ gcc \
+ git
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]