mma-ask-app/Dockerfile

19 lines
239 B
Docker
Raw Normal View History

2020-01-27 01:41:23 +00:00
# Based on node
FROM node:13
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# RUN NPM ci --only=production
# Bundle app source
COPY . .
EXPOSE 3000
CMD ["node", "ask.js"]