Files
insultgen/Dockerfile
renovate[bot] 9a41ff6e14
All checks were successful
Validate PR Title / validate (pull_request) Successful in 2s
CI / ci (pull_request) Successful in 41s
chore(deps): update golang docker tag to v1.25
2026-01-04 12:46:13 +00:00

11 lines
328 B
Docker

FROM golang:1.25-alpine as build
WORKDIR /go/src/app
COPY . /go/src/app
RUN CGO_ENABLED=0 go build -o /go/bin/app
FROM gcr.io/distroless/base-debian13
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/insultgen"
COPY --from=build /go/bin/app /
CMD ["/app"]