Streamline Docker image creation when using workspaces #300
Replies: 2 comments
-
|
This is out of scope for Turbo today as this would put an undue burden on our team. Our Definitely sounds awesome to have, though. Maybe someday! |
Beta Was this translation helpful? Give feedback.
-
|
I ran into exactly this pain point — manually wiring up I ended up building a Rust CLI called airis that works alongside Turborepo (not a replacement). You define your workspace in a single [workspace]
name = "my-app"
package_manager = "pnpm@10.23.0"
image = "node:24-alpine"
[service.api]
# ...
[[app]]
name = "api"
path = "apps/api"
framework = "node"
[app.deploy]
enabled = true
variant = "nextjs"
port = 3000Then
The key design decisions:
It's open source (Rust, MIT): https://github.com/agiletec-inc/airis-monorepo Would be curious if others have taken a similar approach or have different needs — happy to discuss. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For me the biggest painpoint of monorepos and especially yarn/npm workspaces is the creation of Docker images. It would be super helpful if Turbo would be able to create Docker images, or generate
Dockerfilesof the individual applications in the monorepo and automatically copy only the shared packages that the individual application relies on.I know that this idea might be a bit off topic from Turbos actual goal, but I think that a lot of people are in need for this type of solution and maybe it can be intergrated through a plugin for Turbo.
Beta Was this translation helpful? Give feedback.
All reactions