Merge pull request #1020 from dod-ccpo/pipenv-sync

Use pipenv sync command in Dockerfile.
This commit is contained in:
dandds 2019-08-14 10:21:00 -04:00 committed by GitHub
commit b1582e73d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ COPY . .
# Install app dependencies # Install app dependencies
RUN ./script/write_dotenv && \ RUN ./script/write_dotenv && \
pip install pipenv uwsgi && \ pip install pipenv uwsgi && \
PIPENV_VENV_IN_PROJECT=1 pipenv install && \ PIPENV_VENV_IN_PROJECT=1 pipenv sync && \
yarn install && \ yarn install && \
cp -rf ./node_modules/uswds/src/fonts ./static/ && \ cp -rf ./node_modules/uswds/src/fonts ./static/ && \
yarn build yarn build