Merge pull request #1170 from dod-ccpo/static-fonts

Force removal of existing fonts symlink in Docker build.
This commit is contained in:
dandds 2019-11-07 16:27:34 -05:00 committed by GitHub
commit 9cceb1880c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,7 @@ RUN ./script/write_dotenv && \
pip install pipenv uwsgi && \ pip install pipenv uwsgi && \
PIPENV_VENV_IN_PROJECT=1 pipenv sync && \ PIPENV_VENV_IN_PROJECT=1 pipenv sync && \
yarn install && \ yarn install && \
rm -r ./static/fonts/ &> /dev/null || true && \
cp -rf ./node_modules/uswds/src/fonts ./static/ && \ cp -rf ./node_modules/uswds/src/fonts ./static/ && \
yarn build yarn build