Add copying bill-of-materials.json before compiling javascript files

This commit is contained in:
Sida Chen 2018-10-26 13:58:52 -04:00
parent 79a7b9f617
commit c7730d2438

View file

@ -112,6 +112,7 @@ RUN cat requirements.txt | grep -v "^-e" | awk -F'==' '{print $1}' | xargs venv/
rm pipinfo.txt
# JS compile
COPY bill-of-materials.json bill-of-materials.json
COPY static static
RUN yarn build \
&& jpegoptim static/img/**/*.jpg \