mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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-webp \
|
||||||
--with-jpeg \
|
--with-jpeg \
|
||||||
--with-freetype \
|
--with-freetype \
|
||||||
&& docker-php-ext-install gd
|
&& docker-php-ext-install -j "$(nproc)" gd pdo_mysql curl intl mbstring bcmath zip xml xsl
|
||||||
|
|
||||||
# Install other needed PHP extensions
|
|
||||||
RUN docker-php-ext-install 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)
|
# Enable opcache and configure it recommended for symfony (see https://symfony.com/doc/current/performance.html)
|
||||||
RUN docker-php-ext-enable opcache; \
|
RUN docker-php-ext-enable opcache; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue