mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
feat(api): create api proxy/ratelimiting/metrics
This commit is contained in:
parent
de0d27e514
commit
b95f51fff4
11 changed files with 1157 additions and 0 deletions
14
services/web-proxy/Dockerfile
Normal file
14
services/web-proxy/Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM alpine:latest as builder
|
||||
|
||||
RUN apk add go
|
||||
|
||||
WORKDIR /build
|
||||
COPY . /build/
|
||||
|
||||
RUN go build .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=builder /build/web-proxy /bin/web-proxy
|
||||
|
||||
ENTRYPOINT [ "/bin/web-proxy" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue