Skip to content

Commit 53d88aa

Browse files

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the official Golang image to create a build artifact.
22
# This is based on Debian and sets the GOPATH to /go.
33
<<<<<<< HEAD
4-
FROM golang:1.24.1 as builder
4+
FROM golang:1.24.1-alpine3.21 as builder
55
=======
66
FROM FROM golang:1.23.1 as builder
77

@@ -16,7 +16,7 @@ RUN go get -d -v ./...
1616
RUN go install -v ./...
1717

1818
# Use a Docker multi-stage build to create a lean production image.
19-
FROM golang:1.24.1
19+
FROM golang:1.24.1-alpine3.21
2020
COPY --from=builder /go/bin/projeto /projeto
2121

2222
# Run the web service on container startup.

0 commit comments

Comments
 (0)