Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 793 Bytes

File metadata and controls

27 lines (19 loc) · 793 Bytes

Docker (Ubuntu18.04) for cgi with python 3.8

With this docker image, you can create simple web server with CGI. (This is an adapted - stripped down - version, originally from Shohei Mukai)

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

OR: use convenience scripts build.sh and run.sh

You can access from the below URL after running the docker container.

Original Licence