A container with IIS + Python + Flask
210
It is based on python:3.7.4-windowsservercore-1803. IIS installation steps are copied from microsoft/iis Dockerfile. The remaining work is to config IIS to work with Python togehter.
The www root is located at c:\inetpub\wwwroot. Under the folder, there is a sample web application.
The Dockerfile is located at https://github.com/grant-zhang/iis-python-flask/blob/master/Dockerfile.
In order to use it, you can use the following command to start IIS.
docker run -d -p 80:80 --name iis sezyw/iis-python3.7-flask
When IIS is started, you can use web browser to check http://localhost to see the result.
Content type
Image
Digest
Size
2.4 GB
Last updated
about 7 years ago
docker pull sezyw/iis-python3.7-flask