Skip to content

Instantly share code, notes, and snippets.

@andrefreitas
Created June 30, 2015 10:48
Show Gist options
  • Select an option

  • Save andrefreitas/ea1c76815a1777ac5e4f to your computer and use it in GitHub Desktop.

Select an option

Save andrefreitas/ea1c76815a1777ac5e4f to your computer and use it in GitHub Desktop.
problem description
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
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