Commit Graph

5 Commits

Author SHA1 Message Date
Milas Bowman
ec552567c7
flask: dev envs support & misc improvements (#263)
* Docker Desktop Development Environments config
* Use cache volumes for pip
* Upgrade from Python 3.7 -> Python 3.10
* Use port `8000` to avoid conflicts with Airplay on
  macOS for default Flask port `5000`
* Use `SIGINT` to gracefully stop Flask

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-08 09:22:59 -04:00
Andy Madge
a42a8531ab
Added --no-cache-dir option to all Python pip commands in Dockerfiles (#113)
The cache gives no benefit to a Docker image but it does add size, hence it's best left out.

Signed-off-by: Andy Madge <andymadge@gmail.com>
2021-03-22 10:01:41 +01:00
Damanpreet Singh
b3db208944 Updated Dockerfile for flask app
Signed-off-by: Damanpreet Singh <daman.4880@gmail.com>
2020-03-26 18:51:43 +05:30
kouul
5feddf0854 resolved newline changes
Signed-off-by: kouul <maulloohans@gmail.com>
2020-03-26 14:24:47 +04:00
kouul
83a24f681f add flask sample
Signed-off-by: kouul <maulloohans@gmail.com>
2020-03-26 08:44:07 +04:00