From b354bc2379ac8c27036abead2c466633bde42e5f Mon Sep 17 00:00:00 2001 From: "1023150697@qq.com" <1023150697@qq.com> Date: Fri, 12 Sep 2025 00:25:21 +0800 Subject: [PATCH] update --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c80e567..2674965 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ -FROM php:7.2.34-fpm-alpine3.12 +#FROM php:7.2.34-fpm-alpine3.12 +FROM php:7.4.33-zts-alpine3.15 ENV COMPOSER_ALLOW_SUPERUSER=1 \ COMPOSER_HOME=/composer \ COMPOSER_MEMORY_LIMIT=-1 # 使用阿里云 Alpine 3.12 存档源 -RUN echo "https://mirrors.aliyun.com/alpine/v3.12/main" > /etc/apk/repositories \ - && echo "https://mirrors.aliyun.com/alpine/v3.12/community" >> /etc/apk/repositories +RUN echo "https://mirrors.aliyun.com/alpine/v3.15/main" > /etc/apk/repositories \ + && echo "https://mirrors.aliyun.com/alpine/v3.15/community" >> /etc/apk/repositories # 安装依赖 + 常用扩展 RUN apk add --no-cache \ @@ -45,4 +46,4 @@ RUN apk add --no-cache \ && apk del build-base autoconf linux-headers \ && rm -rf /tmp/pear ~/.pearrc /var/cache/apk/* -WORKDIR /var/www/html +WORKDIR /www/wwwroot/admin