PUSHPENDAR commited on
Commit
598ca76
·
verified ·
1 Parent(s): a7d7b74

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -2,8 +2,8 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies for openc
6
  RUN apt-get update && apt-get install -y \
 
7
  libglib2.0-0 \
8
  libsm6 \
9
  libxext6 \
@@ -11,14 +11,11 @@ RUN apt-get update && apt-get install -y \
11
  libgomp1 \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
- # Install Python dependencies
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- # Copy app
19
  COPY app.py .
20
 
21
- # HF Spaces requires port 7860
22
  EXPOSE 7860
23
 
24
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
+ ffmpeg \
7
  libglib2.0-0 \
8
  libsm6 \
9
  libxext6 \
 
11
  libgomp1 \
12
  && rm -rf /var/lib/apt/lists/*
13
 
 
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
 
17
  COPY app.py .
18
 
 
19
  EXPOSE 7860
20
 
21
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]