Hi, I'm following the Hello World example from Graham Dumpleton's blog here: http://blog.dscpl.com.au/2014/12/hosting-python-wsgi-applications-using.html and while it builds fine, it fails when I try to run it, giving the error:
''' Usage: mod_wsgi-express start-server script [options] mod_wsgi-express: error: no such option: -c ''' and exiting. Here's my Dockerfile (I'm behind a proxy): ''' FROM grahamdumpleton/mod-wsgi-docker:python-3.4-onbuild ENV http_proxy http://my_proxy ENV https_proxy http://my_proxy ENV ftp_proxy http://my_proxy ENV no_proxy *.my.domain,localhost CMD [ 'wsgi.py' ] ''' Here's wsgi.py: ''' def applicationdef application(environ, start_response): status = '200 OK' output = b'Hi there!' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] ''' My build command is: ''' docker build -t brettd43/wsgi_test . ''' My run command is: ''' docker run -it --rm -p 5000:80 --name brettd43_wsgi_docker brettd43/wsgi_test ''' Docker version 1.7.1 I'm new to docker and mod_wsgi, so besides looking through the docker files (from which nothing jumped out as a cause of my error), I really don't know what to try. Thanks for any help you can give, Brett -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
