« * K @gautier.dev

Gautier @gautier.dev

2026-04-01 19:51 UTC

All JS code (including node_module dependencies) will be bundled into a single JS file. Then node will be called with --build-sea, this JS file and a list of all assets to produce a fully self-contained binary. Then you can copy this binary in a FROM scratch docker image like this one:

Link: gautier.dev/Dockerfile at main ยท GauBen/gautier.dev (github.com/GauBen/gautier.dev/blob/main/Dockerfile)

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @gautier.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup