Build the docker image
docker build -t <image name> -f ./src/backend/Dockerfile .
Run the docker image. Here, we bind the host and docker containers port using host mode.
docker run --network=host --env-file .env <image name>`
docker compose will build both the docker file and run them togather.
docker-compose up