Cloudreve icon indicating copy to clipboard operation
Cloudreve copied to clipboard

Multi-stage Dockerfile for compilation and runtime

Open EliRibble opened this issue 6 months ago • 1 comments

I'm interested in building Cloudreve myself and running it. There's already a Dockerfile in the project which is used to take the already compiled build output and structure it for deployment. With a few changes this could be a multi-stage dockerfile which works both for building and for deployment, without bloating the resulting image.

EliRibble avatar Jun 12 '25 16:06 EliRibble

I actually prefere goreleaser to pre-build all binaries and build multi-arch images. We need to ship those binaries+images in each release, so it's faster to reuse fresh binaries for docker images.

HFO4 avatar Jun 13 '25 08:06 HFO4