Skip to content

Instantly share code, notes, and snippets.

@BlackDante
Created April 3, 2017 21:42
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 BlackDante/65401c2e668a3bc50826e173bfa38f0d to your computer and use it in GitHub Desktop.
Save BlackDante/65401c2e668a3bc50826e173bfa38f0d to your computer and use it in GitHub Desktop.
FROM node:boron
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
# Bundle app source
COPY . /usr/src/app
EXPOSE 3000
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment