Skip to content

Instantly share code, notes, and snippets.

Last active August 30, 2018 07:59
What would you like to do?
FROM node:8
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Copy app source code
COPY . .
# Expose port and start application
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment