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
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: