authentik/proxy/Dockerfile

13 lines
202 B
Docker
Raw Normal View History

2020-09-02 23:04:12 +01:00
FROM golang:1.15 AS builder
WORKDIR /work
COPY . .
RUN go build -o /work/proxy .
# Copy binary to alpine
FROM gcr.io/distroless/base-debian10
COPY --from=builder /work/proxy /
ENTRYPOINT ["/proxy"]