WillemVH commited on
Commit
5bdacd8
·
verified ·
1 Parent(s): 48d2756

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ # Install system dependencies (espeak-ng + ffmpeg)
4
+ RUN apt-get update && \
5
+ apt-get install -y espeak-ng ffmpeg && \
6
+ rm -rf /var/lib/apt/lists/*
7
+
8
+ # Copy Python files
9
+ WORKDIR /app
10
+ COPY . .
11
+
12
+ # Install Python dependencies
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ # Run Flask app
16
+ CMD ["python", "app.py"]