Commit bfc2c6dc by shameelaz

commit dockerfile

parent 72a32ec4
...@@ -37,6 +37,9 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer ...@@ -37,6 +37,9 @@ COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer
# Copy existing application directory # Copy existing application directory
COPY . /var/www/html COPY . /var/www/html
# Install Laravel dependencies during build
RUN composer install --no-interaction --optimize-autoloader
# 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