Commit b975d8da by shameelaz

Add composer install to Dockerfile to fix vendor missing error

parent d9f880bc
...@@ -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 RUN composer install --no-interaction --optimize-autoloader --no-scripts
# 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