From 4a1777d160dc46222f6c820969f8fae7d2718bee Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Thu, 26 Mar 2026 18:30:36 -0400 Subject: [PATCH] upd: Dockerfile add pdo_sqlite and move asset-map compiling to this instead of install.php --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 18e2319..6ff9e39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,8 @@ RUN docker-php-ext-install \ xml \ intl \ pdo_mysql \ - pdo_pgsql + pdo_pgsql \ + pdo_sqlite RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \ @@ -65,6 +66,7 @@ RUN echo "/var/log/sermon-notes.log { }" > /etc/logrotate.d/sermon-notes RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-scripts --no-dev --optimize-autoloader +RUN /usr/local/bin/php bin/console asset-map:compile RUN mkdir /data RUN mkdir /var/www/html/var/cache @@ -75,5 +77,6 @@ RUN find /var/www/html -type d -exec chmod 755 '{}' \; RUN find /var/www/html -type f -exec chmod 644 '{}' \; RUN chmod 755 /data RUN chmod 644 /data/* +RUN a2enmod rewrite setenvif headers EXPOSE 80