blob: ce582d2ef12a75d0db47116260997cdcd12c200b [file] [log] [blame]
murgatroid99c3c3a8f2015-01-28 10:57:58 -08001# Dockerfile for gRPC Node
2FROM grpc/node_base
3
4# Update the C libary
5RUN cd /var/local/git/grpc \
6 && git pull --recurse-submodules \
7 && git submodule update --init --recursive
8
9# Install the C core.
10RUN make install_c -C /var/local/git/grpc
11
12RUN cd /var/local/git/grpc/src/node && npm install && node-gyp rebuild
13
murgatroid99ddfafe82015-02-03 12:26:51 -080014CMD ["/usr/bin/nodejs", "/var/local/git/grpc/src/node/interop/interop_server.js", "--use_tls=true", "--port=8040"]