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.