build(Dockerfile): 添加必要的系统工具并优化依赖安装
添加 tar 和 git 工具以支持更新功能和版本检查,同时保持 npm install 命令的简洁性
This commit is contained in:
parent
b640ea746b
commit
ddc9533f21
1 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,9 @@ FROM node:20-alpine
|
|||
LABEL maintainer="AIClient2API Team"
|
||||
LABEL description="Docker image for AIClient2API server"
|
||||
|
||||
# 安装必要的系统工具(tar 用于更新功能,git 用于版本检查)
|
||||
RUN apk add --no-cache tar git
|
||||
|
||||
# 设置工作目录
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue