Last active
April 1, 2019 00:33
-
-
Save kunokdev/b4c09e4c0db63bddb649a9ee570f68b2 to your computer and use it in GitHub Desktop.
Simple Dockerfile to run node.js http webserver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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