Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 442 Bytes

File metadata and controls

12 lines (7 loc) · 442 Bytes

restful-api-python-flask

Build and run docker container with Flask RESTful API

Clone repo git clone https://github.com/maciejd/restful-api-python-flask.git

Chande directory cd restful-api-python-flask

Build image docker build -t restful-api .

Run container in detached mode and publish port 5000 docker run -d -p 5000:5000 restful-api

API should be accessible on port 5000 curl -i localhost:5000/todo/api/v1.0/tasks