Commit cdf0f598 by shameelaz

Add composer install to Dockerfile to fix vendor missing error

parent b975d8da
...@@ -38,7 +38,7 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer ...@@ -38,7 +38,7 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer
COPY . /var/www/html COPY . /var/www/html
# Install Laravel dependencies during build # Install Laravel dependencies during build
RUN composer install --no-interaction --optimize-autoloader --no-scripts RUN COMPOSER_MEMORY_LIMIT=-1 composer install --no-interaction --optimize-autoloader --no-scripts --ignore-platform-reqs
# Set permissions # Set permissions
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment