Update Dockerfile to install Composer 2 instead of Composer 1.10
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 2m4s

This commit is contained in:
Frank John Begornia
2026-02-23 01:05:04 +08:00
parent 59fabf7de1
commit 7f86146cd4

View File

@@ -23,8 +23,8 @@ RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath zip
# Enable Apache mod_rewrite
RUN a2enmod rewrite
# Install Composer
COPY --from=composer:1.10 /usr/bin/composer /usr/bin/composer
# Install Composer 2
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
# Set working directory
WORKDIR /var/www/html