Skip to content

pyohei/docker-cgi-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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