Just a Dockerfile to deploy an nginx container.
This Dockerfile can be used in combination with my Vagrantfile : https://github.com/thoomson/MyVagrantEnv
- Install Docker (or use my Vagrantfile) : https://docs.docker.com/install/
- Get the Dockerfile (with curl :
curl https://raw.githubusercontent.com/thoomson/MyDockerStarter/master/Dockerfile > Dockerfile) - Build the container : sudo docker build -t my-container .
- Start the container : sudo docker run -d -p 8080:80 -p 2222:22 my-container
- Have fun !
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request