update git
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 2m40s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Build, Push and Deploy / deploy-staging (push) Successful in 29s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s

This commit is contained in:
2026-03-30 17:50:31 +07:00
parent b5e3a778ce
commit a5638095f1
4 changed files with 271 additions and 2 deletions

View File

@@ -46,8 +46,14 @@ RUN mkdir -p storage/framework/cache \
&& chmod -R 777 storage \
&& chmod -R 777 bootstrap/cache
# Configure Composer for stability on unstable networks
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_MEMORY_LIMIT=-1 \
COMPOSER_PROCESS_TIMEOUT=2000
# Install PHP dependencies (this layer will be cached)
RUN composer install --no-interaction --no-progress --no-scripts
RUN composer config -g repo.packagist composer https://packagist.org \
&& composer install --no-interaction --no-progress --no-scripts --prefer-dist
# Isolate the clean vendor directory
#RUN mv vendor /vendor_clean