Sign inSign up

usmanmusa/simple-flask-app

By usmanmusa

•Updated over 3 years ago

A simple flask application

Image
0

175

usmanmusa/simple-flask-app repository overview

⁠Simple flask application

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

Tag summary

Content type

Image

Digest

sha256:b0663f7c8…

Size

25.5 MB

Last updated

over 3 years ago

docker pull usmanmusa/simple-flask-app