This repository has been archived on 2026-07-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
opencloud-oidc-webfinger-proxy/Dockerfile
T
2025-11-04 17:01:47 +01:00

20 lines
371 B
Docker

FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY . .
RUN go mod init opencloud-oidc-webfinger-proxy || true
RUN go mod tidy
RUN go build -o opencloud-oidc-webfinger-proxy main.go
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/opencloud-oidc-webfinger-proxy .
EXPOSE 9210
ENV PORT=9210
ENV REDIRECT_TEMPLATE=""
CMD ["./opencloud-oidc-webfinger-proxy"]