Squashed inappropriate git messages
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM golang:1.23.1 as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go mod download
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /go/bin/app
|
||||
|
||||
FROM gcr.io/distroless/base-debian12
|
||||
|
||||
COPY --from=build /go/bin/app /
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD [ "/app" ]
|
Reference in New Issue
Block a user