mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Improved efficiency of Dockerfile
This commit is contained in:
parent
cba3f65c29
commit
9273d6b249
1 changed files with 1 additions and 4 deletions
|
@ -10,10 +10,7 @@ RUN docker-php-ext-configure gd \
|
|||
--with-webp \
|
||||
--with-jpeg \
|
||||
--with-freetype \
|
||||
&& docker-php-ext-install gd
|
||||
|
||||
# Install other needed PHP extensions
|
||||
RUN docker-php-ext-install pdo_mysql curl intl mbstring bcmath zip xml xsl
|
||||
&& docker-php-ext-install -j "$(nproc)" gd pdo_mysql curl intl mbstring bcmath zip xml xsl
|
||||
|
||||
# Enable opcache and configure it recommended for symfony (see https://symfony.com/doc/current/performance.html)
|
||||
RUN docker-php-ext-enable opcache; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue