Files
auth0mock/Dockerfile
T
renovate 8f4948f51d
auth0mock / build (push) Successful in 51s
Release / release (push) Successful in 54s
chore(deps): update golang:1.26 docker digest to 257c1f6 (#313)
2026-05-09 02:06:53 +00:00

24 lines
553 B
Docker

FROM golang:1.26@sha256:257c1f60c465aa5d22b4d81f9ae73643a12f228a10165c658ec77bd6ff791f34 AS build
WORKDIR /build
ENV CGO_ENABLED=0
ENV GOEXPERIMENT=jsonv2
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /release/service ./cmd/service
FROM gcr.io/distroless/static-debian12@sha256:20bc6c0bc4d625a22a8fde3e55f6515709b32055ef8fb9cfbddaa06d1760f838
ENV TZ=Europe/Stockholm
ENV AUDIENCE="https://shiny.unbound.se"
COPY --from=build /release/service /service
COPY public /public
EXPOSE 3333
ENTRYPOINT ["/service"]