This commit is contained in:
hailin 2025-07-17 14:57:13 +08:00
parent 9db573c499
commit 9f0a053e96
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install pdo_mysql zip gd
# 安装 swoole 扩展(生产环境建议加 --enable-openssl 等参数)
RUN pecl install swoole \
&& docker-php-ext-enable swoole
# 安装 Composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer