set default composer home variable in base image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3cb4770dff
commit
c9fba86bc7
@ -44,6 +44,7 @@ RUN { \
|
|||||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
ENV COMPOSER_MEMORY_LIMIT=-1
|
ENV COMPOSER_MEMORY_LIMIT=-1
|
||||||
|
ENV COMPOSER_HOME=/var/www/app/.composer
|
||||||
|
|
||||||
WORKDIR /var/www/app
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
@ -76,7 +77,6 @@ ENTRYPOINT ["/entrypoint.sh"]
|
|||||||
|
|
||||||
ENV PHP_FPM_USER=www-data \
|
ENV PHP_FPM_USER=www-data \
|
||||||
PHP_FPM_GROUP=www-data \
|
PHP_FPM_GROUP=www-data \
|
||||||
COMPOSER_HOME=/var/www/app/.composer \
|
|
||||||
SESSION_LIFETIME=10800
|
SESSION_LIFETIME=10800
|
||||||
|
|
||||||
CMD [ "php-fpm" ]
|
CMD [ "php-fpm" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user