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/
|
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 && \
|
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
|
ENV WWW_DATA_UID=33 WWW_DATA_GID=33
|
||||||
|
|
||||||
|
|||||||
@ -65,8 +65,9 @@ else
|
|||||||
LICENSE.txt \
|
LICENSE.txt \
|
||||||
SECURITY.md \
|
SECURITY.md \
|
||||||
phpstan.neon
|
phpstan.neon
|
||||||
|
composer install
|
||||||
# fix permissions
|
# fix permissions
|
||||||
chown -R www-data:www-data /data
|
chown -R www-data:www-data .
|
||||||
find . -type d -exec chmod 750 {} \;
|
find . -type d -exec chmod 750 {} \;
|
||||||
find . -type f -exec chmod 640 {} \;
|
find . -type f -exec chmod 640 {} \;
|
||||||
set +x
|
set +x
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user