Files
flow2api/Dockerfile
genz27 c42cf8e33b fix: 修复各个代码文件中对action参数的调用
- 将FLOW_GENERATION替换为IMAGE_GENERATION/VIDEO_GENERATION
- browser_captcha_personal.py: get_token/execute方法支持action参数
- flow_client.py: _get_api_captcha_token支持动态action
- 更新数据库和模型的默认值
- 添加GitHub Actions工作流用于构建ghcr.io镜像

Co-Authored-By: Warp <agent@warp.dev>
2026-01-27 18:44:46 +08:00

14 lines
211 B
Docker

FROM python:3.11-slim
WORKDIR /app
# 安装 Python 依赖
COPY requirements.txt .
RUN pip install --no-cache-dir --root-user-action=ignore -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "main.py"]