What's a valid pyproject.toml file to build from inboard images? #53
-
Thanks again! As stated in the docs, I could build my own image, based from inboards image
Starting from a default repository (
with a default [tool.poetry]
name = "app"
version = "0.1.0"
description = ""
authors = ["Diego Quintana <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
flake8 = "^4.0.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" a first build removes fastapi dependencies. If I add
What's an example of a pyproject.toml file used in the documented example? Thanks again! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That's right, if you don't have inboard in your pyproject.toml, you may see Poetry remove it. The solution is to add inboard to your pyproject.toml. Your example would look like this:
The I updated the Docker docs with example requirements files. Hopefully it is clearer in the future. |
Beta Was this translation helpful? Give feedback.
That's right, if you don't have inboard in your pyproject.toml, you may see Poetry remove it.
The solution is to add inboard to your pyproject.toml. Your example would look like this:
The
SolverProblemError
you're seeing is a Poetry error. inboard 0.26 is definitely up on PyPI, so it could be a caching error. You can clear …