Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 450 Bytes

File metadata and controls

17 lines (14 loc) · 450 Bytes

WS Containers Python/Flask Hello World

Very simple Flask app running in container

Example

Local build from Dockerfile

docker build -t python-flask-hello-world:latest .
docker run -d -p 5000:5000 python-flask-hello-world

Remote deploy to WS Containers Cloud (Beta)

docker login <FQDN>:<PORT>
docker tag <ContainerID> <FQDN>:<PORT>/python-flask-hello-world
docker push <FQDN>:<PORT>/python-flask-hello-world