Spaces:
Running
Running
FROM ubuntu:20.04 | |
RUN apt-get update && apt-get install -y ffmpeg | |
# 安装项目依赖 | |
RUN pip install -r requirements.txt | |
# 复制项目代码到容器 | |
COPY . /app | |
# 设置工作目录 | |
WORKDIR /app | |
# 启动 FaceFusion API | |
CMD ["python", "run.py", "--api"] |