-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Even after days of trying I can't manage to create a Docker image with a multi-stage build that works for packages that use path dependencies. Here's an example package setup from a monorepo:
monorepo
├── service-a
├── service-b
├── library-a
└── library-b
Dependencies are as follows:
service-a->library-aandlibrary-blibrary-a->library-bservice-b->library-b
All dependencies use path dependencies e.g.
[project]
name = "service-a"
dependencies = [
"library-a",
"library-b",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv.sources]
library-a = { path = "../library-a", editable = true }
library-b = { path = "../library-b", editable = true }Any suggestions would be much appreciated.
Metadata
Metadata
Assignees
Labels
No labels