The Containerized App Exercise is a project aimed at building a containerized application consisting of multiple subsystems, each operating within its own Docker container. The project includes:
- Machine Learning Client: TODO
- Web App: A Flask-based Web App that captures an image from the user's camera and places the data in the databse.
- Database: A local MongoDB database used by both the machine learning client and the web app to store and retrieve data.
The App Uses docker-compose to build the three docker containers necessary. To build, run
docker compose up
from the project root.
To run tests using pytest, run:
pytest
or for the Dockerized version
docker build -t test-image -f PytestDockerfile .
docker run test-image
from the project root