Add tools as an extra directory to apply patches

This commit is contained in:
Oliver Davies 2024-04-15 08:03:07 +01:00
parent b88c386003
commit b04f403fa2
2 changed files with 3 additions and 1 deletions

View file

@ -39,6 +39,7 @@ RUN docker-php-ext-install gd opcache pdo_mysql zip
COPY --chown=app:app phpunit.xml* ./
COPY --chown=app:app tools tools
USER app

View file

@ -35,7 +35,8 @@ docker-compose:
dockerfile:
stages:
build:
extra_directories: []
extra_directories:
- tools
commands:
- composer validate --strict
- composer install --quiet --no-progress