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