Sign inSign up

mrsiregar/flask-sqlite3

By mrsiregar

•Updated almost 9 years ago

This is simple counter application, using flask microframework and sqlite3 to save hit number.

Image
0

306

mrsiregar/flask-sqlite3 repository overview

Check the counter

~ curl 172.19.0.2:5000    
Hello World! I have been seen 1 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 2 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 3 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 4 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 5 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 6 times.
~ curl 172.19.0.2:5000
Hello World! I have been seen 7 times.


Get the dockerfile here https://github.com/mromadisiregar/docker/tree/master/flask-sqlite3

Tag summary

Content type

Image

Digest

Size

30.7 MB

Last updated

almost 9 years ago

docker pull mrsiregar/flask-sqlite3