Files
auth0mock/Dockerfile
T
renovate 78578af193
renovate/stability-days Updates have met minimum release age requirement
auth0mock / build (pull_request) Successful in 58s
chore(deps): update golang:1.26 docker digest to 0f70d7d
2026-07-14 08:01:24 +00:00

24 lines
553 B
Docker

FROM golang:1.26@sha256:0f70d7d828acd8456022127f31975364e58d792999a7e92af6fc972e124bb6b0 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:22fd79fd75eab2372585b44517f8a094349938919dc613aafc37e4bdc9967c82
ENV TZ=Europe/Stockholm
ENV AUDIENCE="https://shiny.unbound.se"
COPY --from=build /release/service /service
COPY public /public
EXPOSE 3333
ENTRYPOINT ["/service"]