Something went wrong. Try again.
some kind of github proxy
Something went wrong. Try again.
123456789101112131415161718FROM dockerhub.timeweb.cloud/golang:alpine AS builder #NOTE(lain/kroot) dockerhub doesnt work on my machine, so I use this image from other "mirror" registry
WORKDIR /appENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64COPY go.mod go.sum ./RUN go mod downloadCOPY . .RUN go build -o ghproxy ./cmd/ghproxyFROM dockerhub.timeweb.cloud/alpine:edgeWORKDIR /appRUN addgroup -S app && adduser -S app -G appCOPY --from=builder /app/ghproxy /app/ghproxyCOPY config.yaml /app/config.yamlEXPOSE 8080USER appENTRYPOINT ["/app/ghproxy"]