From a5f57713171bc6a77a98ba5517a4f4be942553bd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 3 Mar 2023 21:52:04 +0000 Subject: [PATCH] fix: add /app/bin to PATH Ensure that Drush and other vendor binaries will work if the vendor bin path is changed to `/app/bin` as it is with LocalGov Drupal. Refs #24 --- templates/Dockerfile.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Dockerfile.twig b/templates/Dockerfile.twig index 05ee91a..3b20ad6 100644 --- a/templates/Dockerfile.twig +++ b/templates/Dockerfile.twig @@ -13,7 +13,7 @@ RUN adduser --disabled-password --uid "${DOCKER_UID}" app \ USER app -ENV PATH="${PATH}:/app/vendor/bin" +ENV PATH="${PATH}:/app/bin:/app/vendor/bin" COPY --chown=app:app composer.* ./