feat: Dockerfile 中添加 VERSION 文件复制

将 VERSION 文件复制到 Docker 镜像中,以便在运行时可以访问版本信息。
This commit is contained in:
snaily
2025-04-20 12:12:52 +08:00
parent ebc5dc571b
commit 1b23d574a5
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ WORKDIR /app
# 复制所需文件到容器中
COPY ./requirements.txt /app
COPY ./VERSION /app
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app /app/app

View File

@@ -1 +1 @@
2.0.8
2.0.9