/apache2pycgi

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

Primary LanguagePythonMIT LicenseMIT

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