jisaacso219 commited on
Commit
1191524
·
verified ·
1 Parent(s): 53c585b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install system dependencies
4
+ RUN apt-get update && apt-get install -y espeak ffmpeg git && rm -rf /var/lib/apt/lists/*
5
+
6
+ # Set working directory
7
+ WORKDIR /app
8
+
9
+ # Copy files
10
+ COPY . .
11
+
12
+ # Install Python dependencies
13
+ RUN pip install --upgrade pip && pip install -r requirements.txt
14
+
15
+ # Expose the port used by Flask
16
+ EXPOSE 7860
17
+
18
+ # Run your app
19
+ CMD ["python", "app.py"]