Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -8
Dockerfile
CHANGED
@@ -1,21 +1,14 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
-
|
3 |
WORKDIR /app
|
4 |
-
|
5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
6 |
ffmpeg \
|
7 |
git \
|
8 |
build-essential \
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
-
|
11 |
RUN pip install --no-cache-dir pip==24.0
|
12 |
-
|
13 |
COPY requirements.txt .
|
14 |
-
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
16 |
-
|
17 |
COPY . .
|
18 |
-
|
19 |
EXPOSE 7860
|
20 |
-
|
21 |
CMD ["python", "app.py"]
|
|
|
1 |
FROM python:3.10-slim
|
|
|
2 |
WORKDIR /app
|
|
|
3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
ffmpeg \
|
5 |
git \
|
6 |
build-essential \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
8 |
RUN pip install --no-cache-dir pip==24.0
|
9 |
+
RUN pip install --no-cache-dir gradio==4.31.5
|
10 |
COPY requirements.txt .
|
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
12 |
COPY . .
|
|
|
13 |
EXPOSE 7860
|
|
|
14 |
CMD ["python", "app.py"]
|