Skip to content

Commit 33e2fa8

Browse files
committed
fix: reproducible JS builds in rock OCI
1 parent e38df59 commit 33e2fa8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rockcraft.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ parts:
2323
set -eux
2424
# install dependencies
2525
npm install -g yarn
26-
yarn install
26+
yarn install --immutable
2727
# build the UI
2828
yarn run build
2929
mkdir -p "$CRAFT_PART_INSTALL/flask/app"
@@ -34,6 +34,7 @@ parts:
3434
prime:
3535
- flask/app/.env
3636
- flask/app/app.py
37+
- flask/app/cache
3738
- flask/app/webapp
3839
- flask/app/templates
3940
# - flask/app/static # it already gets copied in the build-ui step

0 commit comments

Comments
 (0)