copy over proto into payment-service; add Dockerfile and .dockerignore node_modules

This commit is contained in:
Jonathan Lui 2018-06-21 13:02:41 -07:00
parent 88ac6d8fc1
commit 47669a51f7
4 changed files with 242 additions and 1 deletions

View file

@ -0,0 +1,13 @@
FROM node:8
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install --only=production
COPY . .
EXPOSE 50051
CMD [ "node", "index.js" ]