folder
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 2m38s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 31s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 0s

This commit is contained in:
2026-03-31 01:32:38 +07:00
parent d346b24299
commit 8fb1995913

View File

@@ -32,8 +32,15 @@ WORKDIR /var/www
# 5. Copy existing application directory contents
COPY . /var/www
# 5.5 PASTIKAN FOLDER CACHE & STORAGE TERBUAT SEBELUM COMPOSER RUN
RUN mkdir -p /var/www/storage/framework/cache/data \
/var/www/storage/framework/sessions \
/var/www/storage/framework/views \
/var/www/storage/framework/testing \
/var/www/storage/logs \
/var/www/bootstrap/cache
# 6. Install dependencies
# (Hapus --no-dev sementara jika Anda mau testing dengan Error Page Laravel yang rapi)
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_MEMORY_LIMIT=-1
RUN composer install --no-interaction --optimize-autoloader