pubsub-server/Dockerfile

12 lines
120 B
Docker

FROM node:latest
WORKDIR /opt/proj/
COPY . .
RUN npm install --omit=dev
EXPOSE 50051
ENTRYPOINT ["node", "server"]