From 837872e0c5f5442bb36674dc4188653c4a47137b Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Sat, 5 Aug 2023 12:18:20 +0200 Subject: [PATCH] [FrameworkBundle] Support `APP_BUILD_DIR` --- reference/configuration/kernel.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reference/configuration/kernel.rst b/reference/configuration/kernel.rst index 20787e153d8..a25b6c2fd42 100644 --- a/reference/configuration/kernel.rst +++ b/reference/configuration/kernel.rst @@ -22,6 +22,14 @@ container or AWS Lambda. This value is also exposed via the :method:`Symfony\\Component\\HttpKernel\\Kernel::getBuildDir` method of the kernel class, which you can override to return a different value. +You can also change the build directory by defining an environment variable +named ``APP_BUILD_DIR`` whose value is the full path of the build folder. + +.. versionadded:: 6.4 + + The support of the ``APP_BUILD_DIR`` environment variable was introduced in + Symfony 6.4. + ``kernel.bundles`` ------------------