diff --git a/Dockerfile b/Dockerfile index deda83d0f..41acfeb4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN \ cd /app/ && \ python3 -m pip install --disable-pip-version-check --no-cache-dir --no-deps \ --requirement=/app/requirements.txt && \ - pipenv install --system --clear && \ + pipenv sync --system --clear && \ python3 -m compileall /usr/local/lib/python3.8 /usr/lib/python3.8 -q \ -x '/usr/local/lib/python3.8/dist-packages/pipenv/' && \ strip /usr/local/lib/python3.8/dist-packages/shapely/*/*.so && \ @@ -95,7 +95,7 @@ RUN \ FROM runner as tests -RUN (cd /app/ && pipenv install --dev --system --clear) +RUN (cd /app/ && pipenv sync --dev --system --clear) RUN (cd /app/ && prospector) FROM runner