Files
insultgen/Dockerfile
renovate[bot] bc97f669ae
All checks were successful
Validate PR Title / validate (pull_request) Successful in 2s
CI / ci (pull_request) Successful in 25s
chore(deps): update golang docker tag to v1.26
2026-02-14 13:39:38 +00:00

11 lines
326 B
Docker

FROM golang:1.26-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://git.tainton.uk/repos/insultgen"
COPY --from=build /go/bin/app /
CMD ["/app"]