Skip to content

Commit

Permalink
Merge pull request #173 from brefphp/add-composer
Browse files Browse the repository at this point in the history
Add composer to the dev images
  • Loading branch information
mnapoli authored May 3, 2024
2 parents 62d9366 + 7ef22a1 commit 7815db4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layers/fpm-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ EXPOSE 8000
# Add `php/conf.dev.d` to the path where PHP looks for configuration files
ENV PHP_INI_SCAN_DIR="/opt/bref/etc/php/conf.d:/var/task/php/conf.d:/var/task/php/conf.dev.d"

# Add composer
COPY --link --from=composer/composer:2-bin /composer /usr/bin/composer

# Originally the entrypoint is `/lambda-entrypoint.sh` and CMD contains the handler name
# We override the entrypoint to run our own logic
ENTRYPOINT [ "/bref-entrypoint.sh" ]

0 comments on commit 7815db4

Please sign in to comment.