Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active August 30, 2018 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeaholicguy/a42218b86ab91f0262862ccd745ef868 to your computer and use it in GitHub Desktop.
Save codeaholicguy/a42218b86ab91f0262862ccd745ef868 to your computer and use it in GitHub Desktop.
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