Docker¶ # Development build docker build --tag {{cookiecutter.project_name}} --file docker/Dockerfile --target development . # Production build docker build --tag {{cookiecutter.project_name}} --file docker/Dockerfile --target production . To run command inside the container: docker run -it {{cookiecutter.project_name}}:latest bash # Temporary container docker run --rm -it {{cookiecutter.project_name}}:latest bash Development inside the container: For more information watch-versus-bind-mounts docker compose up -d {{cookiecutter.project_name}}-dev --watch Run production image: docker compose up -d {{cookiecutter.project_name}}-prod