Files
insultgen/Dockerfile
Luke Tainton 784e3fd40c
All checks were successful
Snyk / security (push) Successful in 14s
feat(dependencies): upgrade to Go 1.25 (#4)
Reviewed-on: #4
2026-01-04 12:51:19 +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"]