HighnessAnnotation commited on
Commit
acd7f71
·
verified ·
1 Parent(s): e285bb5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -10
Dockerfile CHANGED
@@ -1,16 +1,13 @@
1
- FROM python:3.10-slim
2
-
3
- RUN apt-get update && apt-get install -y ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/*
4
 
5
  WORKDIR /app
6
 
7
- COPY requirements.txt .
8
-
9
- RUN pip install --no-cache-dir --upgrade pip && \
10
- pip install --no-cache-dir httpx gradio==4.44.1 pydantic
11
-
12
- COPY . .
13
 
14
- EXPOSE 7860
 
 
 
 
15
 
16
  CMD ["python", "app.py"]
 
1
+ FROM python:3.10
 
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY . /app
 
 
 
 
 
6
 
7
+ RUN pip install --no-cache-dir \
8
+ gradio==4.29.0 \
9
+ huggingface_hub==0.19.4 \
10
+ httpx \
11
+ pydantic
12
 
13
  CMD ["python", "app.py"]