Files
insultgen/Dockerfile
Luke Tainton 54ad00ee3b
All checks were successful
Snyk / security (push) Successful in 12s
feat(dependencies): upgrade to Golang 1.23 and Debian 13
2026-01-04 12:40:43 +00:00

11 lines
328 B
Docker

FROM golang:1.23-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"]