Fix missing dependencies on first load

This commit is contained in:
Oliver Davies 2023-01-21 19:52:58 +00:00
parent f2e95f2b07
commit 43f27371e2
3 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,11 @@ RUN {% for command in dockerfile.stages.build.commands %}
{% endfor %}
{% endif %}
COPY tools/docker/images/php/root /
ENTRYPOINT ["/usr/local/bin/docker-entrypoint-php"]
CMD ["php-fpm"]
{% if dockerfile.stages.test %}
################################################################################

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
[[ -f composer.json && ! -d vendor ]] && composer install
eval "$@"