This repository contains a simple Python Flask API that returns a welcome message when accessed. The API is containerized using Docker, allowing for easy setup and deployment.
- Flask web framework for handling API requests.
- Docker integration for simple deployment and scalability.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What you need to install the software:
- Python 3.8 or higher
- Docker
A step by step series of examples that tell you how to get a development env running:
- Clone the repository:
git clone https://github.com/SameedIlyas/DockerizedFlaskAPI.git - Navigate to the Project Directory
- Build the Docker Container
docker build -t simple-flask-api
- Run the Docker container
docker run -p 5000:5000 simple-flask-api
Now, access the API at http://localhost:5000/ to see the welcome message.