Commit 6947208d authored by Marc Widmer's avatar Marc Widmer 🏃🏻
Browse files

initial commit

parent 0e5d4376
FROM golang:1.17-alpine3.13 as builder
RUN apk update && apk upgrade
RUN go get -u github.com/improbable-eng/grpc-web/go/grpcwebproxy
FROM alpine:3.13.6
COPY --from=builder /go/bin/grpcwebproxy .
CMD [ "sh", "-c", \
"./grpcwebproxy --backend_addr=$BACKENDADDR --run_tls_server=false --allow_all_origins"]
\ No newline at end of file
# grpc web proxy
GRPC web proxy containerized for local development.
\ No newline at end of file
[GRPC web proxy]("https://github.com/improbable-eng/grpc-web") containerized for local development.
Simply set the environment variable `BACKENDADDR` to the backend address for the proxy and you are set.
Note:
Since this is intended for local development only, SSL is disabled.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment