chore: sync local changes (2026-03-12)

This commit is contained in:
2026-03-12 18:58:36 +08:00
parent 2bd4f06188
commit d8c1e1ee6c
49 changed files with 409 additions and 182 deletions

View File

@@ -0,0 +1,23 @@
FROM python:3.11-slim
WORKDIR /app
# 复制依赖文件
COPY requirements.txt .
# 安装依赖
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用代码
COPY . .
# 暴露端口
EXPOSE 4343
# 设置环境变量
ENV DRIFT_BOTTLE_DATA_DIR=/data
ENV FLASK_APP=app.py
ENV PORT=4343
# 运行应用
CMD ["python", "app.py"]