Skip to content

Instantly share code, notes, and snippets.

@postera-james
Created May 3, 2023 22:10
Show Gist options
  • Save postera-james/d67584e75b3e2291cadf801192dbcdd6 to your computer and use it in GitHub Desktop.
Save postera-james/d67584e75b3e2291cadf801192dbcdd6 to your computer and use it in GitHub Desktop.
pyproject.toml example for poetry docker build error
[tool.poetry]
name = "example-service"
version = "2.0.0"
description = "Service"
authors = [""]
readme = "README.md"
packages = [{include = "example/"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.11"
mlflow = "1.25.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
test="python -m pytest tests/unit --disable-warnings"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment