aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/alpine')
-rw-r--r--docker/app/alpine/3.6/Dockerfile7
-rw-r--r--docker/app/alpine/3.7/Dockerfile6
2 files changed, 7 insertions, 6 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile
index b9cb557b..7578418c 100644
--- a/docker/app/alpine/3.6/Dockerfile
+++ b/docker/app/alpine/3.6/Dockerfile
@@ -19,9 +19,10 @@ RUN apk add --no-cache --virtual build \
postgresql-dev
WORKDIR /app
-COPY setup.py /app/setup.py
-RUN python3 -m pip install .[$EXTRAS]
-RUN apk del --purge build
+COPY pyproject.toml /app/pyproject.toml
+RUN python3 -m pip install poetry \
+ && python3 -m poetry install --extras deploy \
+ && apk del --purge build
COPY . .
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
index a2023977..7e639c29 100644
--- a/docker/app/alpine/3.7/Dockerfile
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -1,7 +1,6 @@
FROM python:3.7-alpine
STOPSIGNAL SIGQUIT
-ARG EXTRAS=deploy
RUN adduser \
-D \
@@ -19,8 +18,9 @@ RUN apk add --no-cache --update --virtual build \
postgresql-dev
WORKDIR /app
-COPY setup.py /app/setup.py
-RUN python3 -m pip install .[$EXTRAS] \
+COPY pyproject.toml /app/pyproject.toml
+RUN python3 -m pip install poetry \
+ && python3 -m poetry install --extras deploy \
&& apk del --purge build
COPY . .