mma-ask-app/Dockerfile
2020-01-26 17:41:23 -08:00

19 lines
239 B
Docker

# 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"]