Run composer install after downloading
This commit is contained in:
parent
7d38be598a
commit
8ec873f009
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user