RJ40under40 commited on
Commit
bbc7c0d
·
verified ·
1 Parent(s): cfff8f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
@@ -10,3 +13,6 @@ COPY app.py .
10
  EXPOSE 7860
11
 
12
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # install system packages
6
+ RUN apt-get update && apt-get install -y ffmpeg
7
+
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
 
13
  EXPOSE 7860
14
 
15
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
16
+
17
+
18
+