Last active
August 26, 2016 10:01
-
-
Save underground/9e10bf1c214fc4e86cca439ddfe9d05b to your computer and use it in GitHub Desktop.
Very simple samples for pure ( for example express) web apps that run on top of Node.js
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:6.4.0 | |
WORKDIR /usr/local/src | |
ADD . /usr/local/src | |
RUN cd /usr/local/src | |
RUN npm install | |
CMD ["npm", "run", "start"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
=> http://localhost:8080 in your browser
For example , if you run in this sample , it will be hot load!!
https://github.com/reactjs/redux/tree/master/examples/counter