Files
insultgen/Dockerfile
Luke Tainton 994fac9203
All checks were successful
Validate PR Title / validate (pull_request) Successful in 2s
CI / ci (pull_request) Successful in 36s
fix(docker): update repository label
2026-01-04 12:55:26 +00:00

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