Skip to content

Instantly share code, notes, and snippets.

@ulrikstrid
Created June 22, 2017 11:25
Show Gist options
  • Save ulrikstrid/92930accaa28ebaa97d8d142946ec597 to your computer and use it in GitHub Desktop.
Save ulrikstrid/92930accaa28ebaa97d8d142946ec597 to your computer and use it in GitHub Desktop.
FROM node:latest
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment