chore: Docker镜像增加git软件包、修正aapanel+ docker 更新步骤

This commit is contained in:
xboard 2023-11-24 11:23:49 +08:00
parent 89745e1214
commit 8f2662b254
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr
RUN install-php-extensions pcntl
RUN apk --no-cache add shadow supervisor nginx sqlite nginx-mod-http-brotli mysql-client
RUN apk --no-cache add shadow supervisor nginx sqlite nginx-mod-http-brotli mysql-client git
#复制项目文件以及配置文件
WORKDIR /www

View File

@ -72,7 +72,7 @@ docker compose up -d
>通过SSH登录到服务器后访问站点路径如/www/wwwroot/你的站点域名。
>以下命令都需要在站点目录进行执行。
```
sh update.sh
docker compose run -it --rm xboard sh update.sh
```
2. 重启Xboard
```