Files
cognito-token-checker/Dockerfile
T
Stian Fredrik Aune 0fe1bd0b4d
continuous-integration/drone/push Build is passing
first commit
2025-07-05 12:45:19 +02:00

15 lines
207 B
Docker

FROM golang:1.23 AS build
WORKDIR /build
ENV CGO_ENABLED 0
COPY . .
RUN go build -ldflags "-w -s" -o checker main.go
FROM alpine:3.20.1 AS run
COPY --from=build /build/checker /bin/checker
CMD checker