Skip to content

feat(dockerfile): update dockerfile builds and update dependencies - #168

Merged
gabizou merged 5 commits into
masterfrom
feat/dockerfile
Oct 6, 2026
Merged

gabizou merged 5 commits into
masterfrom
feat/dockerfile

Conversation

@gabizou

@gabizou gabizou commented Oct 6, 2026

Copy link
Copy Markdown
Member

We ought to simplify the running of the homepage instead of manual copies from a dist folder to simply push up a docker image that runs it natively. This allows for us to more automatically update dependencies as well.

- gulp 4 -> 5, gulp-nunjucks/gulp-template 6 are ESM-only so gulpfile is now gulpfile.mjs
- Replace gulp-htmlmin (abandoned html-minifier) with gulp-html-minifier-terser
- Read images with encoding: false, since gulp 5 decodes files as UTF-8 by default
- Migrate Sass @import to @use via sass-migrator
Current live will append a ?v=<sha> to local CSS/JS so Cloudflare
and browser caches pick up new builds. We've not rebuilt this in
a while, but whenever we do, we ought to make sure to keep cache
busting available where needed.

CI will always build with a git sha for the arg, while local builds
will use a timestamp.
@gabizou
gabizou merged commit afc7adb into master Oct 6, 2026
2 checks passed
@gabizou
gabizou deleted the feat/dockerfile branch October 6, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant