aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-03 18:07:50 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-03 18:07:50 +0000
commita160abeb3230c6ecb887d0b77f655203d5cf2313 (patch)
treede4347a905c67476dd0a9c85d1c2f052f18ed446 /Dockerfile
parentFix urls in readme (diff)
parentminor docs updates (diff)
downloadAnnotateChange-a160abeb3230c6ecb887d0b77f655203d5cf2313.tar.gz
AnnotateChange-a160abeb3230c6ecb887d0b77f655203d5cf2313.zip
Merge branch 'update'
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 3 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index 6a40462..fc17bb5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,16 +20,10 @@ ENV YOUR_ENV=${YOUR_ENV} \
PYTHONHASHSEED=random \
PIP_NO_CACHE_DIR=off \
PIP_DIABLE_PIP_VERSION_CHECK=on \
- PIP_DEFAULT_TIMEOUT=100 \
- POETRY_VERSION=0.12.11
+ PIP_DEFAULT_TIMEOUT=60
-RUN pip install "poetry==$POETRY_VERSION"
-
-COPY poetry.lock pyproject.toml /home/annotatechange/
-
-RUN poetry config settings.virtualenvs.create false \
- && poetry install $(test "$YOUR_ENV" == production && echo "--no-dev") \
- --no-interaction --no-ansi
+COPY requirements.txt /home/annotatechange/
+RUN pip install -r requirements.txt
COPY app app
COPY migrations migrations