aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-05 13:25:58 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-05 13:25:58 +0100
commit1e0be65e13c6b030901b107f08e24eb77e0bef74 (patch)
tree4ef7dcf0eb34e157f38954da2b0d3690a64a7171 /docker
parent[#176] Redo project layout (diff)
[#193] Replace Poetry with Pipenv
Diffstat (limited to 'docker')
-rw-r--r--docker/app/alpine/3.6/Dockerfile8
-rw-r--r--docker/app/alpine/3.7/Dockerfile8
-rw-r--r--docker/app/stretch/3.6/Dockerfile8
-rw-r--r--docker/app/stretch/3.7/Dockerfile8
4 files changed, 22 insertions, 10 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile
index 7578418c..1abcd537 100644
--- a/docker/app/alpine/3.6/Dockerfile
+++ b/docker/app/alpine/3.6/Dockerfile
@@ -19,9 +19,11 @@ RUN apk add --no-cache --virtual build \
postgresql-dev
WORKDIR /app
-COPY pyproject.toml /app/pyproject.toml
-RUN python3 -m pip install poetry \
- && python3 -m poetry install --extras deploy \
+
+COPY Pipfile /app/Pipfile
+COPY Pipfile.lock /app/Pipfile.lock
+RUN python3 -m pip install pipenv \
+ && python3 -m pipenv install --dev --system --deploy \
&& apk del --purge build
COPY . .
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
index 7e639c29..955c01be 100644
--- a/docker/app/alpine/3.7/Dockerfile
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -18,9 +18,11 @@ RUN apk add --no-cache --update --virtual build \
postgresql-dev
WORKDIR /app
-COPY pyproject.toml /app/pyproject.toml
-RUN python3 -m pip install poetry \
- && python3 -m poetry install --extras deploy \
+
+COPY Pipfile /app/Pipfile
+COPY Pipfile.lock /app/Pipfile.lock
+RUN python3 -m pip install pipenv \
+ && python3 -m pipenv install --dev --system --deploy \
&& apk del --purge build
COPY . .
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
index 8a37925c..3ce69018 100644
--- a/docker/app/stretch/3.6/Dockerfile
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -21,8 +21,12 @@ RUN apt-get update -y \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
-COPY setup.py /app/setup.py
-RUN python3 -m pip install .[$EXTRAS]
+
+COPY Pipfile /app/Pipfile
+COPY Pipfile.lock /app/Pipfile.lock
+RUN python3 -m pip install pipenv \
+ && python3 -m pipenv install --dev --system --deploy
+
COPY . .
RUN apt-get purge -y \
diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile
index 1674eece..c2f10cea 100644
--- a/docker/app/stretch/3.7/Dockerfile
+++ b/docker/app/stretch/3.7/Dockerfile
@@ -21,8 +21,12 @@ RUN apt-get update -y \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
-COPY setup.py /app/setup.py
-RUN python3 -m pip install .[$EXTRAS]
+
+COPY Pipfile /app/Pipfile
+COPY Pipfile.lock /app/Pipfile.lock
+RUN python3 -m pip install pipenv \
+ && python3 -m pipenv install --dev --system --deploy
+
COPY . .
RUN apt-get purge -y \