fix: multi-stage Dockerfile and guard husky for Docker builds
Some checks are pending
Test / vitest (push) Waiting to run
Test / playwright (push) Blocked by required conditions
Test / visual (push) Blocked by required conditions

Multi-stage build produces a smaller production image with only .output.
Husky prepare script now tolerates missing .git (Docker, CI).
This commit is contained in:
Jennie Robinson Faber 2026-04-04 16:44:55 +01:00
parent 1e30ba23cd
commit 61c16d8bac
2 changed files with 9 additions and 5 deletions

View file

@ -17,7 +17,7 @@
"test:visual:update": "npx playwright test e2e/visual/ --update-snapshots",
"test:a11y": "npx playwright test e2e/a11y.spec.js",
"test:all": "npm run test:run && npx playwright test",
"prepare": "husky"
"prepare": "husky || true"
},
"dependencies": {
"@cloudinary/vue": "^1.13.3",