-
-
Save Tymek/1de0484637ee08e23b3693ee24674de5 to your computer and use it in GitHub Desktop.
Simple static files server with Python in Docker
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 run \ | |
-v $(pwd):$(pwd) \ | |
-w $(pwd) \ | |
-p 0.0.0.0:80:80 \ | |
-it --rm --name="python-http-server" python:3 python \ | |
-m http.server 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment