Skip to content

Instantly share code, notes, and snippets.

@asagajda
Created July 4, 2018 06:12
Show Gist options
  • Save asagajda/fa00b4b5d704daec0c5227de6f06cbf4 to your computer and use it in GitHub Desktop.
Save asagajda/fa00b4b5d704daec0c5227de6f06cbf4 to your computer and use it in GitHub Desktop.
Run apache2 over current directory with static html
docker run -dit --name my-apache-app -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment