Maaz1 commited on
Commit
2394ba2
·
verified ·
1 Parent(s): 6b99fe0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile CHANGED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dockerfile
2
+ FROM python:3.9-slim
3
+
4
+ # Install system dependencies (FFmpeg + build tools)
5
+ RUN apt-get update && apt-get install -y \
6
+ ffmpeg \
7
+ build-essential \
8
+ python3-dev \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ WORKDIR /app
12
+
13
+ # Install Python packages (prefer wheels)
14
+ COPY requirements.txt .
15
+ RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
16
+
17
+ COPY . .
18
+
19
+ CMD ["python", "app.py"]