- Choose your operating system and follow steps to install docker here
- Follow these steps to install nvidia-container-toolkit
- Run
docker compose buildto build the project - Run
docker compose up -dto serve the project - Run
docker compose exec api {command}to run commands in the api container i.e.docker compose exec api python -m pytest
Note: When changing anything in Dockerfile or compose.yml, make sure to run
docker compose down before and then docker compose up -d after making
changes