minor change views; add opcache

This commit is contained in:
2024-08-08 15:50:44 +02:00
parent fa3b766634
commit db660b3a89
10 changed files with 167 additions and 72 deletions
+2
View File
@@ -0,0 +1,2 @@
[Opcache]
opcache.enable=1
+2 -2
View File
@@ -23,9 +23,10 @@ RUN apt-get install -y \
&& docker-php-ext-install zip intl
RUN apt-get install -y libgd3 libgd-dev && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure gd --with-jpeg
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN docker-php-ext-install pdo pdo_mysql mysqli opcache
RUN docker-php-ext-install -j$(nproc) gd
RUN docker-php-ext-enable zip
RUN docker-php-ext-enable opcache
COPY services/config/foreground.sh /etc/foreground.sh
@@ -50,7 +51,6 @@ RUN composer dump-autoload --optimize
RUN mv .env.prod .env
COPY services/config/nginx-site.conf /etc/nginx/sites-enabled/default
#CMD ["/etc/foreground.sh"]
ENTRYPOINT ["/etc/foreground.sh"]