изменено: Dockerfile
Change to 1.25.1-alpine
This commit is contained in:
@@ -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
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user