Skip to content

Instantly share code, notes, and snippets.

@joselfonseca
Created November 11, 2017 03:26
Show Gist options
  • Select an option

  • Save joselfonseca/52b55b0acdd30a88db78fc2c10a3460a to your computer and use it in GitHub Desktop.

Select an option

Save joselfonseca/52b55b0acdd30a88db78fc2c10a3460a to your computer and use it in GitHub Desktop.
Dockerfile Node JS
FROM node:8
COPY package.json yarn.lock /api/
WORKDIR /api
RUN yarn
ADD . /api
EXPOSE 3000
CMD [ "node", "." ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment