This is a simple calculator web application built with Flask and Docker. The app provides basic arithmetic operations (addition, subtraction, multiplication, division) via a RESTful API. It is containerized using Docker for easy deployment and scalability.
- Basic calculator functionality: Add, subtract, multiply, and divide.
- REST API: Provides endpoints to perform calculations.
- Dockerized: The app is containerized with Docker for easy deployment and management.
- CI/CD: Uses GitHub Actions to automate building, testing, and pushing the Docker image to Docker Hub.
https://hub.docker.com/r/arko0/calculator_app
Before getting started, make sure you have the following installed:
- Docker: To build and run the containerized app.
- Python 3.x: To install dependencies and run tests.
- Make: For managing the build and deployment process.
- Clone the repository:
git clone https://github.com/yourusername/calculator-app.git cd calculator-app
- Run locally
pip install -r requirements.txt python app.py
- Docker run
make deploy