Run composer install after downloading

This commit is contained in:
Robin 2021-12-20 23:55:59 +01:00
parent 7d38be598a
commit 8ec873f009
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM php:${PHP_VERSION}-fpm-alpine
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions gd pdo_mysql mysqli zip exif
install-php-extensions @composer gd pdo_mysql mysqli zip exif
ENV WWW_DATA_UID=33 WWW_DATA_GID=33

View File

@ -65,8 +65,9 @@ else
LICENSE.txt \
SECURITY.md \
phpstan.neon
composer install
# fix permissions
chown -R www-data:www-data /data
chown -R www-data:www-data .
find . -type d -exec chmod 750 {} \;
find . -type f -exec chmod 640 {} \;
set +x