diff --git a/serv_golang_rest_api/Dockerfile b/serv_golang_rest_api/Dockerfile index d00532f..7455663 100644 --- a/serv_golang_rest_api/Dockerfile +++ b/serv_golang_rest_api/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM golang:1.25.1 as builder +FROM golang:1.25.1-alpine as builder WORKDIR /app COPY go.mod go.sum ./ RUN go mod download @@ -11,4 +11,4 @@ FROM gcr.io/distroless/static-debian12 WORKDIR / COPY --from=builder /go/bin/app /app CMD ["/app"] -EXPOSE 8080 \ No newline at end of file +EXPOSE 8080