From 21839d5b862f4d58683961eb5e72646907f71d3a Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:27:43 +0100 Subject: [PATCH] ENGDOCS-2276 (#21245) ## Description To match https://github.com/compose-spec/compose-spec/pull/540 ## Related issues or tickets ## Reviews - [ ] Technical review - [ ] Editorial review - [ ] Product review --- content/reference/compose-file/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/reference/compose-file/build.md b/content/reference/compose-file/build.md index c9f8067a4d9..b5640f080a7 100644 --- a/content/reference/compose-file/build.md +++ b/content/reference/compose-file/build.md @@ -157,7 +157,7 @@ args: `context` defines either a path to a directory containing a Dockerfile, or a URL to a git repository. -When the value supplied is a relative path, it is interpreted as relative to the location of the Compose file. +When the value supplied is a relative path, it is interpreted as relative to the project directory. Compose warns you about the absolute path used to define the build context as those prevent the Compose file from being portable.