feat: 整合官方 2.7.0 安全修复与本地文件分享

This commit is contained in:
orion committed 2026-09-18 10:08:42 +08:00
1 parent b10113e5ab
commit 9e9571b031
42 files changed
+2824 -268

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Upgrade the backend while retaining the deployment's verified frontend themes.
# BASE_IMAGE must be a locally pinned backup of the existing deployment image.
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG APP_VERSION
ARG VCS_REF
LABEL org.opencontainers.image.version="${APP_VERSION}"
LABEL org.opencontainers.image.revision="${VCS_REF}"
WORKDIR /app
COPY VERSION requirements.txt main.py ./
COPY apps ./apps
COPY core ./core
COPY scripts ./scripts
RUN pip install --no-cache-dir -r requirements.txt
ENV APP_VERSION="${APP_VERSION}"