Fix installing rpc protocol files. (#10)

This commit is contained in:
Jonathan Zernik 2020-03-20 18:44:58 -07:00 committed by GitHub
parent 085f5f7419
commit f2f7f2bbd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ WORKDIR /app
# Install the gRPC files.
COPY "install-rpc.sh" .
RUN chmod +x install-rpc.sh
RUN ./install-rpc.sh
RUN python3 setup.py install

View file

@ -5,5 +5,6 @@ curl -o rpc.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/mast
cp rpc.proto squeaknode/common
echo "Installing RPC protocol files"
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/common/rpc.proto
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/client/rpc/route_guide.proto