Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- 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 |
-
#
|
| 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"]
|