updated for static build
Build Docker Image / Build-Docker-Image (push) Successful in 2h57m26s

This commit is contained in:
wt committed 2025-06-07 03:35:01 +07:00
1 parent 61f1284bd2
commit f44af70787
1 file changed
+6 -2
+6 -2
View File
@@ -4,8 +4,12 @@ WORKDIR /app
COPY . .
RUN go mod tidy && go build
RUN apk update && \
apk upgrade && \
apk add binutils && \
go mod tidy && \
go build && \
strip auth_service
FROM alpine:latest AS build-release-stage
WORKDIR /data