A service for helping Connexta developers at the MA office with the very difficult task of deciding on a place to get lunch from 😵🤕.
By default, the service will run on port 5000
. To make the service accessible from outside networks, you can use a tool like ngrok to create a public URL and point it to your chosen port.
- Build the Docker image
docker build -t em-ay-devs-food -f Dockerfile .
- Create and start the container in the background
docker run -d -p 5000:5000 --name food em-ay-devs-food
- To stop the container:
docker stop food
- To stop the container:
Unit tests are located in the tests/
directory. To execute only the tests and get the results, simply run pytest
in your terminal. If you want a more detailed output with coverage measurements, run the following:
pytest -v --cov-report term --cov=src tests/