chore: sync local updates
This commit is contained in:
@@ -15,9 +15,11 @@ COPY requirements.txt .
|
||||
# 安装 Python 依赖
|
||||
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# 复制应用代码
|
||||
# 复制应用代码(笔记目录在仓库中为 data/mengyanote,运行时挂载到 /app/mengyanote 与 main.py 一致)
|
||||
COPY main.py .
|
||||
COPY mengyanote ./mengyanote
|
||||
COPY data/mengyanote ./mengyanote
|
||||
# 默认配置(config.json 含 admin_token;ignore.json)。部署可用卷覆盖整个目录
|
||||
COPY data/config ./data/config
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user