From ebbc830f2d342def0a34d4653a0d936ed7f5a2d5 Mon Sep 17 00:00:00 2001 From: Joseph Vargas Date: Mon, 26 Jan 2026 17:20:22 -0600 Subject: [PATCH] docs: clarify dockerfilePath is relative to root directory --- src/docs/reference/config-as-code.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/docs/reference/config-as-code.md b/src/docs/reference/config-as-code.md index c7011895e..bfb64014c 100644 --- a/src/docs/reference/config-as-code.md +++ b/src/docs/reference/config-as-code.md @@ -103,6 +103,10 @@ Location of non-standard Dockerfile. } ``` +**Path resolution:** `dockerfilePath` is resolved relative to the service’s Root Directory (Service Settings → Root Directory). If Root Directory is not set, it’s relative to the repository root. + +**Build context:** The Docker build context is the same Root Directory used for the service build. + This field can be set to `null`. More about building from a Dockerfile [here](/reference/dockerfiles).