set default composer home variable in base image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Fastré 2022-06-07 11:40:46 +02:00
parent 3cb4770dff
commit c9fba86bc7

View File

@ -44,6 +44,7 @@ RUN { \
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
ENV COMPOSER_ALLOW_SUPERUSER=1
ENV COMPOSER_MEMORY_LIMIT=-1
ENV COMPOSER_HOME=/var/www/app/.composer
WORKDIR /var/www/app
@ -76,7 +77,6 @@ ENTRYPOINT ["/entrypoint.sh"]
ENV PHP_FPM_USER=www-data \
PHP_FPM_GROUP=www-data \
COMPOSER_HOME=/var/www/app/.composer \
SESSION_LIFETIME=10800
CMD [ "php-fpm" ]