mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-05-06 14:00:50 +08:00
- 将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>
14 lines
211 B
Docker
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"]
|