Files
Mofox-Core/Dockerfile
Gardel d6b05fc1ea
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2m16s
feat: 添加 ffmpeg
2025-12-07 23:29:26 +08:00

20 lines
324 B
Docker

FROM python:3.13.5-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# 工作目录
WORKDIR /app
# 复制依赖列表
COPY pyproject.toml .
# 编译器
RUN apt-get update && apt-get install -y build-essential ffmpeg
# 安装依赖
RUN uv sync
COPY . .
EXPOSE 8000
ENTRYPOINT [ "uv","run","bot.py" ]