From 4baf397be2478c4ab612e298fbb51e289a16039a Mon Sep 17 00:00:00 2001 From: dandds Date: Wed, 14 Aug 2019 09:45:24 -0400 Subject: [PATCH] Use pipenv `sync` command in Dockerfile. `sync` is recommended for deployments. It installs exactly what's in the Pipfile.lock and does not try to update the lockfile. https://docs.pipenv.org/en/latest/advanced/#using-pipenv-for-deployments --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 412ac88a..e969a0ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ COPY . . # Install app dependencies RUN ./script/write_dotenv && \ pip install pipenv uwsgi && \ - PIPENV_VENV_IN_PROJECT=1 pipenv install && \ + PIPENV_VENV_IN_PROJECT=1 pipenv sync && \ yarn install && \ cp -rf ./node_modules/uswds/src/fonts ./static/ && \ yarn build