I thought I'd put it here first for discussion prior to making a PR.
@dullage If you have any thoughts, that'd be awesome.
In my tests, it cut build time by just under half (even more so if previous image cache was leveraged (and updated to bookworm)).
The other, even faster alternative is to use the node:current-bookworm-slim image for the build stage, but then there's a loss of control of Python versions.
Heya,
I've been looking at the Dockerfile as part of #101, and I think I may have made some improvements to build speed and layer count.
I thought I'd put it here first for discussion prior to making a PR.
@dullage If you have any thoughts, that'd be awesome.
In my tests, it cut build time by just under half (even more so if previous image cache was leveraged (and updated to bookworm)).
The other, even faster alternative is to use the
node:current-bookworm-slim
image for the build stage, but then there's a loss of control of Python versions.Cheers!