open-match icon indicating copy to clipboard operation
open-match copied to clipboard

Simplifying and Optimizing the Dockerfile

Open YoussefBayouli opened this issue 1 year ago • 0 comments

Multi-stage Build: The builder stage compiles the Go binary, and the final stage (alpine) only includes the built binary. Simplified Commands: Combined related RUN commands to reduce the number of layers. Minimal Base Image: Used alpine for the runtime image to keep it lightweight.

What this PR does / Why we need it: Simplifies and optimizes the Dockerfile with a multi-stage build, reducing image size and improving efficiency

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

YoussefBayouli avatar Jul 29 '24 12:07 YoussefBayouli