mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-06-05 23:03:48 +00:00
ac44056a00
* Add ratelimit configuration. * Add rate limiting :party:
10 lines
301 B
Docker
10 lines
301 B
Docker
FROM alpine:latest
|
|
RUN apk add --no-cache ca-certificates
|
|
WORKDIR /go/src/app
|
|
ARG TARGETARCH
|
|
ARG TARGETOS
|
|
ADD dist/bot-$TARGETOS-$TARGETARCH /go/src/app/graphql-proxy
|
|
ADD static/default-ratelimit.json /app/ratelimit.json
|
|
RUN chmod +x /go/src/app/graphql-proxy
|
|
ENTRYPOINT ["/go/src/app/graphql-proxy"]
|