aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine/3.6/Dockerfile
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-02-05 23:39:32 +0100
committerGravatar Johannes Christ <[email protected]>2019-02-05 23:39:32 +0100
commit8b13f6d0a3c24ec6b5388b711ed028894afdd58c (patch)
tree9378bd7dea24a5096b69c8bf8b9e3334108d6470 /docker/app/alpine/3.6/Dockerfile
parentImplement a simple nominations API. (diff)
Use poetry for dependency managemnet.
Diffstat (limited to 'docker/app/alpine/3.6/Dockerfile')
-rw-r--r--docker/app/alpine/3.6/Dockerfile7
1 files changed, 4 insertions, 3 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 . .