diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-12-03 16:40:05 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-12-03 16:40:05 +0000 |
| commit | 125186f21f387fa6ef8d12f020f316b415a543da (patch) | |
| tree | 5796b43133fb3fd2f5a9c2a80de62ce384b29456 /Dockerfile | |
| parent | remove clevercsv to speed up docker build (diff) | |
| download | AnnotateChange-125186f21f387fa6ef8d12f020f316b415a543da.tar.gz AnnotateChange-125186f21f387fa6ef8d12f020f316b415a543da.zip | |
Cut out poetry
Adds unnecessary complexity to install process.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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 |
