pyohei / docker-cgi-python

🐳Docker file for cgi using python2.7, 3.6, 3.7, 3.8, 3.9 and 3.10🐍

Home Page:https://medium.com/@pyohei/create-the-simple-image-server-with-python-f8b4b8607485?source=friends_link&sk=684aadf8462ae0f2facb5ce3a737c860

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker(Ubuntu20.04) for cgi with python(2.7/3.6/3.7/3.8/3.9/3.10)

This is a simple python web server settings.
With this docker image, you can create simple web application with cgi.

How to use

# build image
docker build -t pycgi .
# run image
HASH=`docker run -p 8883:80 -d pycgi`
# exec container
docker exec -it $HASH /bin/bash

You can Access from the below URL after run docker container.

Allow Python version

  • 2.7
  • 3.6
  • 3.7
  • 3.8
  • 3.9
  • 3.10

References

Licence

About

🐳Docker file for cgi using python2.7, 3.6, 3.7, 3.8, 3.9 and 3.10🐍

https://medium.com/@pyohei/create-the-simple-image-server-with-python-f8b4b8607485?source=friends_link&sk=684aadf8462ae0f2facb5ce3a737c860

License:MIT License


Languages

Language:Dockerfile 49.0%Language:Python 41.8%Language:Shell 8.4%Language:HTML 0.8%