blob: 59aa8cfd1c6a8fe2ba37b0677f144b4c48b224fb [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
murgatroid9947b30b02015-02-18 11:31:55 -080014# Add a cacerts directory containing the Google root pem file, allowing the
15# ruby client to access the production test instance
16ADD cacerts cacerts
17
18# Add a service_account directory containing the auth creds file
19ADD service_account service_account
20
murgatroid99ddfafe82015-02-03 12:26:51 -080021CMD ["/usr/bin/nodejs", "/var/local/git/grpc/src/node/interop/interop_server.js", "--use_tls=true", "--port=8040"]