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
All checks were successful
Deploy Production (admin.crewsportswear.app) / deploy (push) Successful in 2m4s
This commit is contained in:
@@ -23,8 +23,8 @@ RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath zip
|
|||||||
# Enable Apache mod_rewrite
|
# Enable Apache mod_rewrite
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer 2
|
||||||
COPY --from=composer:1.10 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|||||||
Reference in New Issue
Block a user