Commit Graph
2 Commits
Author SHA1 Message Date
Bea fbf6d27600 ci(docker): build site once and package per-arch
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.
2026-03-07 00:54:17 +00:00
C0ffeeCode 1b9216b341 Improve Dockerfile (#256)
* Use npm ci over install to achive faster and more expectable build results;
Split copy package(-lock).json files and ci then to avoid reinstalling dependencies when not needed => Faster build times

* Stopp adding wasm type to mime.types, its already there (duplicate):
- avoids warning in console
- cleans up
- might have been missing in past nginx:alpine versions but now exists

* Change node tag from alpine and nginx to more specific ones for #260
2022-01-30 20:58:38 +05:30