Created
December 27, 2017 09:30
-
-
Save sunary/042fd8f41be3fc2b58461313b9b20c3d to your computer and use it in GitHub Desktop.
Nodejs Docker
This file contains hidden or 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:7.6.0 | |
| ADD package.json /tmp/package.json | |
| RUN mkdir -p /usr/src/app | |
| WORKDIR /usr/src/app | |
| ADD . /usr/src/app | |
| RUN npm rebuild node-sass | |
| EXPOSE 8080 | |
| CMD [ "npm", "run", "dev" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment