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
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:
@@ -32,8 +32,15 @@ WORKDIR /var/www
|
|||||||
# 5. Copy existing application directory contents
|
# 5. Copy existing application directory contents
|
||||||
COPY . /var/www
|
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
|
# 6. Install dependencies
|
||||||
# (Hapus --no-dev sementara jika Anda mau testing dengan Error Page Laravel yang rapi)
|
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER=1 \
|
ENV COMPOSER_ALLOW_SUPERUSER=1 \
|
||||||
COMPOSER_MEMORY_LIMIT=-1
|
COMPOSER_MEMORY_LIMIT=-1
|
||||||
RUN composer install --no-interaction --optimize-autoloader
|
RUN composer install --no-interaction --optimize-autoloader
|
||||||
|
|||||||
Reference in New Issue
Block a user