Compare commits

...

1 Commits

Author SHA1 Message Date
Stavros
c37f66abb9 feat: strip go executable for smaller size 2025-02-02 13:31:35 +02:00

View File

@@ -35,7 +35,7 @@ COPY ./cmd ./cmd
COPY ./internal ./internal
COPY --from=site-builder /site/dist ./internal/assets/dist
RUN CGO_ENABLED=0 go build
RUN CGO_ENABLED=0 go build -ldflags "-s -w"
# Runner
FROM alpine:3.21 AS runner