cheesecz commited on
Commit
03aa5cc
·
verified ·
1 Parent(s): 059fca6

Update Dockerfile

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