Copy USWDS fonts to static directory in Docker build.

This step was missing from the initial Docker build and causing errors
in fresh repositories.
This commit is contained in:
dandds 2019-07-14 15:31:18 -04:00
parent 65363129fb
commit 03a445e759

View File

@ -35,6 +35,7 @@ COPY . .
RUN pip install pipenv uwsgi && \ RUN pip install pipenv uwsgi && \
PIPENV_VENV_IN_PROJECT=1 pipenv install && \ PIPENV_VENV_IN_PROJECT=1 pipenv install && \
yarn install && \ yarn install && \
cp -r ./node_modules/uswds/src/fonts ./static/ && \
yarn build yarn build
## NEW IMAGE ## NEW IMAGE