Files
auth0mock/Dockerfile
T
renovate b21d3a5554
auth0mock / build (push) Skipped
renovate/stability-days Updates have met minimum release age requirement
auth0mock / build (pull_request) Successful in 1m6s
chore(deps): update golang:1.26 docker digest to 2005724
2026-08-08 14:01:33 +00:00

24 lines
553 B
Docker

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