michaelj commited on
Commit
94b5b2a
1 Parent(s): 8fb085a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -1,15 +1,15 @@
1
  FROM ubuntu:20.04
2
 
3
- RUN apt-get update && apt-get install -y ffmpeg
4
 
5
- # 安装项目依赖
6
  RUN pip install -r requirements.txt
7
 
8
- # 复制项目代码到容器
9
  COPY . /app
10
 
11
- # 设置工作目录
12
  WORKDIR /app
13
 
14
- # 启动 FaceFusion API
15
  CMD ["python", "run.py", "--api"]
 
1
  FROM ubuntu:20.04
2
 
3
+ RUN apt-get update && apt-get install -y ffmpeg python3-pip
4
 
5
+ # Install project dependencies
6
  RUN pip install -r requirements.txt
7
 
8
+ # Copy project code to container
9
  COPY . /app
10
 
11
+ # Set working directory
12
  WORKDIR /app
13
 
14
+ # Start FaceFusion API
15
  CMD ["python", "run.py", "--api"]