Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active August 30, 2018 07:59
Embed
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
EXPOSE 3000
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment