Created
June 30, 2015 10:48
-
-
Save andrefreitas/ea1c76815a1777ac5e4f to your computer and use it in GitHub Desktop.
problem description
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 ubuntu:14.04 | |
| RUN echo "Hello from docker" > index.html | |
| RUN sudo apt-get install python3 | |
| RUN python3 -m http.server 80 | |
| EXPOSE 80 |
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
| docker build -t ncrawler . | |
| docker run -d -p 5001:80 ncrawler | |
| curl http://192.168.59.103:5001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment