Commit Graph

6 Commits

Author SHA1 Message Date
Atomist Bot
2dd28f4319 Pin Docker image python:3.10-alpine
--platform=$BUILDPLATFORM
->
python:3.10-alpine@sha256:c9d3c11e89887c82efeb4f4fee8771a406cf42f41aebbd23148906d5fe3c1426

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
2022-10-07 07:12:40 +00:00
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