Aniket2418 commited on
Commit
e44401a
·
1 Parent(s): 6cda383

add files

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +13 -0
Dockerfile.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y ffmpeg git build-essential && rm -rf /var/lib/apt/lists/*
6
+
7
+ RUN pip install --no-cache-dir torch==2.1.0 torchaudio==2.1.0 numpy==1.24.4 pydub==0.25.1 gradio==3.50.2 TTS==0.22.0
8
+
9
+ COPY . .
10
+
11
+ EXPOSE 7860
12
+
13
+ CMD ["python", "main.py"]