[project]
name = "docker-project"
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "osx-arm64"]
[tasks]
dev = "flask --app docker_project:app run"
start = "gunicorn -w 4 docker_project:app --bind :8000"
[dependencies]
python = ">=3.12"
flask = ">=3.0.2,<3.1"
gunicorn = ">=21.2.0,<21.3"
[host-dependencies]
pip = "*"
[feature.test.dependencies]
pytest = "*"
[feature.test.tasks]
test = "pytest"
[feature.build.dependencies]
build = "*"
hatchling = "*"
[feature.build.tasks]
postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
build-wheel = "python -m build --no-isolation --wheel ."
[feature.prod.tasks]
postinstall-production = "pip install --no-deps --disable-pip-version-check dist/docker_project-*.whl"
[environments]
default = ["test", "build"]
prod = ["prod"]