Flask sample
Install Flask (0.12)
Very small sample at official site
python flasksample.py
it works well
$ python flasksample.py
* Running on http://0.0.0.0:15000/ (Press CTRL+C to quit)
docker run --rm manabuishii/flask-sample:0.3.0
$ curl http://localhost:15000
Hello World!
$ curl http://localhost:15000/testaccess
Test Access complete.
This sample execute date command
$ curl http://localhost:15000/datecmd
Wed May 31 08:26:23 UTC 2017
$ curl http://localhost:15000/parametertest\?yourparameter\=MYPARAMETER
[MYPARAMETER] World!
TODO
TODO
TODO
Content type
Image
Digest
Size
259.5 MB
Last updated
about 9 years ago
docker pull manabuishii/flask-sample