chore: remove --prefer-dist from composer install to allow fallback to git source

This commit is contained in:
GuavaPopper
2026-06-11 00:18:09 +07:00
parent 4e19f27522
commit 4907ff7ef8
+1 -1
View File
@@ -5,11 +5,11 @@ WORKDIR /app
COPY composer.json composer.lock ./
# --no-scripts: artisan belum ada di stage ini, post-autoload-dump dijalankan di stage final
# tanpa --prefer-dist agar Composer bisa fallback ke git source saat unduhan dist gagal (mis. GitHub 504)
RUN composer install \
--no-dev \
--no-interaction \
--no-progress \
--prefer-dist \
--no-scripts \
--no-autoloader