This is a simple flask application that can be run locally, also it is decorise using docker container. The content of the docker-compose.yml file is:
version: '3.7'
services:
sakyum_service:
build:
context: .
ports:
- "5000:5000"
save the file and spinup the services, by runing the command below::
docker-compose up
you can use the command below instead of the above, in other to see how it build the image::
docker-compose up --build
Once the services build up, you can visit it at http://0.0.0.0:5000
Content type
Image
Digest
sha256:b0663f7c8…
Size
25.5 MB
Last updated
over 3 years ago
docker pull usmanmusa/simple-flask-app