The multi-arch Docker build previously ran npm ci + npm run build for each target platform despite producing identical static assets. Add an overridable site-dist stage to the Dockerfile that CI replaces via --build-context site-dist=./dist. The workflow now builds the site once natively with Node.js on the runner, then the multi-arch step only packages the pre-built dist into nginx.
4 lines
26 B
Plaintext
4 lines
26 B
Plaintext
node_modules/
|
|
dist/
|
|
.git/
|