You can you just need to point the build context correctly. Most CLIs allow specifying the Dockerfile with a flag (e.g., -f path/to/Dockerfile) or by setting the build context to the subdirectory.
If the CLI doesn’t expose it directly, a workaround is using a wrapper build script or adjusting the project config. I can help you set this up cleanly for a monorepo structure.
@chilly-lunch-55221
t
tall-airline-16756
02/27/2026, 7:32 PM
Hi Abayomi Praise,
⚠️ This channel will be deleted soon ⚠️
Please use our new community at https://community.livekit.io for technical discussions and to post technical questions. The Slack community is not going away, but we are migrating technical questions to our new forum. Please see full details here.
r
refined-appointment-81829
02/27/2026, 7:36 PM
@polite-rain-22350 thanks for the response. Can you please respond to messages in a thread so each thread can be its own self contained conversation?
c
chilly-lunch-55221
02/27/2026, 7:46 PM
is there a reference somewhere for how to set up the project config?
chilly-lunch-55221
02/27/2026, 7:47 PM
this is all i see in the docs
chilly-lunch-55221
02/27/2026, 7:48 PM
the dockerfile i want to use is in a subdirectory, but it needs the build context from the root directory, but the root directory also has a package.json in it, which causes the cli to think its a node project and error out because the root directory also contains a package.json as well as a pyproject and uv lock