Skip to content

Commit

Permalink
Merge pull request #1056 from camptocamp/pipenv
Browse files Browse the repository at this point in the history
Use pipenv sync
  • Loading branch information
sbrunner authored Mar 4, 2021
2 parents f96fdd8 + 3664559 commit e3c052f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RUN \
DEBIAN_FRONTEND=noninteractive apt install --assume-yes --no-install-recommends \
${DEV_PACKAGES} && \
cd /app/ && \
python3 -m pip install --disable-pip-version-check --no-cache-dir --no-deps \
python3 -m pip install --disable-pip-version-check --no-cache-dir \
--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 && \
Expand Down Expand Up @@ -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

0 comments on commit e3c052f

Please sign in to comment.