測試 docker 調整 20250528
This commit is contained in:
parent
26f7e6a833
commit
137d76f2b0
31
Dockerfile
31
Dockerfile
@ -5,8 +5,35 @@ FROM php:8.3-fpm
|
||||
|
||||
# 安裝系統套件與 PHP 擴充
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git unzip curl libzip-dev zip libpng-dev libonig-dev cron supervisor \
|
||||
&& docker-php-ext-install pdo pdo_mysql zip
|
||||
git \
|
||||
unzip \
|
||||
zip \
|
||||
curl \
|
||||
libpng-dev \
|
||||
libjpeg62-turbo-dev \
|
||||
libfreetype6-dev \
|
||||
libonig-dev \
|
||||
libxml2-dev \
|
||||
libzip-dev \
|
||||
libpq-dev \
|
||||
libicu-dev \
|
||||
libxslt-dev \
|
||||
libsqlite3-dev \
|
||||
sqlite3 \
|
||||
cron \
|
||||
supervisor \
|
||||
nodejs \
|
||||
npm \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install \
|
||||
gd \
|
||||
pdo_mysql \
|
||||
zip \
|
||||
bcmath \
|
||||
intl \
|
||||
xsl \
|
||||
pcntl \
|
||||
sockets
|
||||
|
||||
# 安裝 Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
Loading…
x
Reference in New Issue
Block a user