anuj-exe commited on
Commit
662a1bb
·
verified ·
1 Parent(s): 4f0a2be

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install system dependencies for audio
4
+ RUN apt-get update && apt-get install -y git ffmpeg libsndfile1
5
+
6
+ WORKDIR /app
7
+
8
+ # Install Python dependencies
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Copy app code
13
+ COPY . /app
14
+
15
+ # Run FastAPI app
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]