Add copying bill-of-materials.json before compiling javascript files
This commit is contained in:
parent
79a7b9f617
commit
c7730d2438
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ RUN cat requirements.txt | grep -v "^-e" | awk -F'==' '{print $1}' | xargs venv/
|
||||||
rm pipinfo.txt
|
rm pipinfo.txt
|
||||||
|
|
||||||
# JS compile
|
# JS compile
|
||||||
|
COPY bill-of-materials.json bill-of-materials.json
|
||||||
COPY static static
|
COPY static static
|
||||||
RUN yarn build \
|
RUN yarn build \
|
||||||
&& jpegoptim static/img/**/*.jpg \
|
&& jpegoptim static/img/**/*.jpg \
|
||||||
|
|
Reference in a new issue