Ezmary commited on
Commit
46c0455
·
verified ·
1 Parent(s): 985a6eb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -2,7 +2,6 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # نصب ابزارهای سیستم برای پردازش صدا
6
  RUN apt-get update && apt-get install -y \
7
  libsndfile1 \
8
  ffmpeg \
@@ -13,7 +12,6 @@ RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY . .
15
 
16
- # ساخت پوشه‌های مورد نیاز
17
- RUN mkdir -p static wav results temp
18
 
19
- 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
  libsndfile1 \
7
  ffmpeg \
 
12
 
13
  COPY . .
14
 
15
+ RUN mkdir -p static wav results temp templates
 
16
 
17
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--timeout-keep-alive", "300"]