Archived
Init
This commit is contained in:
commit
da94d6b2b0
3 files changed
+223
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
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"]
|
||||
Reference in new issue
Block a user