Created
January 20, 2017 09:29
-
-
Save xhinking/0115da8ffc604ca04ca5415a1193fab2 to your computer and use it in GitHub Desktop.
Node Dockerfile example
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:7.4 | |
ENV HEY_HOME /hey-node | |
RUN mkdir ${HEY_HOME}/ | |
WORKDIR $HEY_HOME | |
COPY package.json ${HEY_HOME}/ | |
RUN npm install | |
COPY . ${HEY_HOME}/ | |
EXPOSE 8080 | |
CMD ["node", "index.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment