VoiceClips commited on
Commit
f924d0d
·
verified ·
1 Parent(s): ab25703

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ # FFmpeg ve OpenCV için gerekli sistem kütüphaneleri
4
+ RUN apt-get update && apt-get install -y \
5
+ ffmpeg \
6
+ libsm6 \
7
+ libxext6 \
8
+ git \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ WORKDIR /app
12
+
13
+ # Bağımlılıkların yüklenmesi
14
+ COPY requirements.txt .
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
+
17
+ # Tüm kodların kopyalanması
18
+ COPY . .
19
+
20
+ # Hugging Face Spaces portu
21
+ EXPOSE 7860
22
+
23
+ CMD ["python", "app.py"]