mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
433 B
14 lines
433 B
10 years ago
|
# Dockerfile for gRPC Node
|
||
|
FROM grpc/node_base
|
||
|
|
||
|
# Update the C libary
|
||
|
RUN cd /var/local/git/grpc \
|
||
|
&& git pull --recurse-submodules \
|
||
|
&& git submodule update --init --recursive
|
||
|
|
||
|
# Install the C core.
|
||
|
RUN make install_c -C /var/local/git/grpc
|
||
|
|
||
|
RUN cd /var/local/git/grpc/src/node && npm install && node-gyp rebuild
|
||
|
|
||
|
CMD ["/usr/bin/nodejs", "/var/local/git/grpc/src/node/interop/interop_server.js", "--use_tls=true", "--port 8040"]
|