This commit is contained in:
hailin 2025-07-17 14:43:43 +08:00
parent 765822a359
commit be3bccdff4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM php:8.1-fpm
# 安装系统工具和 PHP 扩展 # 安装系统工具和 PHP 扩展
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git unzip libpq-dev libzip-dev zip \ git unzip libpq-dev libzip-dev zip \
&& docker-php-ext-install pdo_mysql && docker-php-ext-install pdo_mysql gd
# 安装 Composer # 安装 Composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer