squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

No module named '/hello' on Python search path. #25

Closed techesuraj closed 7 years ago

techesuraj commented 7 years ago

Hi, I am new to all this docker. After following all the instructions when I try to run this command in terminal: docker run -P -v hello.py:/hello.py japronto/japronto /hello.py

It appears to have following error message No module named '/hello' on Python search path

Can you please help me with this

squeaky-pl commented 7 years ago

Sorry for that. This is docs issue, forgot to update that. The correct command is:

docker run --rm -p 8080:8080 -v `pwd`/hello.py:/hello.py japronto/japronto --script /hello.py
squeaky-pl commented 7 years ago

Fixed in ed1ec27