Zeno icon indicating copy to clipboard operation
Zeno copied to clipboard

Optimize Dockerfile with multi-stage build

Open 7h3-3mp7y-m4n opened this issue 8 months ago • 5 comments

The current Dockerfile builds and runs the Go application in a single stage using the full Go toolchain. This results in a larger image size and includes unnecessary build tools in the final container.

To improve efficiency, security, and maintain best practices, we should refactor the Dockerfile to use a multi-stage build. This will allow us to build the application in one stage and run it in a minimal runtime image in another, and with a low image size!

7h3-3mp7y-m4n avatar Apr 10 '25 13:04 7h3-3mp7y-m4n

Sure, go ahead! :) Thanks

CorentinB avatar Apr 11 '25 09:04 CorentinB

Hey @CorentinB, is there a Slack chat for Zeno? If yes, then I would love to join! Thanks!

7h3-3mp7y-m4n avatar Apr 15 '25 12:04 7h3-3mp7y-m4n

Hey @CorentinB, is there a Slack chat for Zeno? If yes, then I would love to join! Thanks!

No there isn't, but you can use the Discussions feature of GH if needed!

CorentinB avatar Apr 15 '25 12:04 CorentinB

@7h3-3mp7y-m4n Hey, are you still working on this? I would love to contribute :)

sk-pathak avatar Apr 21 '25 03:04 sk-pathak

for sure! @sk-pathak

7h3-3mp7y-m4n avatar Apr 21 '25 10:04 7h3-3mp7y-m4n