Disable Composer scripts during Docker build

This commit is contained in:
2026-06-03 04:47:03 +05:00
parent a1256cc2d8
commit 3ec4fe470e
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ COPY docker/php/php.ini $PHP_INI_DIR/conf.d/app.ini
COPY . .
COPY --from=frontend /app/public/build ./public/build
RUN composer install --no-dev --optimize-autoloader --no-interaction
RUN composer install --no-dev --prefer-dist --no-interaction --no-progress --no-scripts \
&& composer dump-autoload --optimize --no-scripts
RUN chown -R www-data:www-data storage bootstrap/cache \
&& chmod -R 775 storage bootstrap/cache