Skip to content

Instantly share code, notes, and snippets.

@kunokdev
Last active April 1, 2019 00:33
Show Gist options
  • Save kunokdev/b4c09e4c0db63bddb649a9ee570f68b2 to your computer and use it in GitHub Desktop.
Save kunokdev/b4c09e4c0db63bddb649a9ee570f68b2 to your computer and use it in GitHub Desktop.
Simple Dockerfile to run node.js http webserver
FROM node:10-alpine
WORKDIR /app
COPY package.json /app
COPY yarn.lock /app
RUN yarn
COPY . .
CMD ["yarn", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment