chore: remove --prefer-dist from composer install to allow fallback to git source
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user