Pushkar0655g commited on
Commit
ac290b0
·
1 Parent(s): fc7755f

Updated app to fix file validation and progress updates

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +19 -0
Dockerfile.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Install system dependencies (FFmpeg for video processing)
4
+ RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
5
+
6
+ # Set working directory
7
+ WORKDIR /app
8
+
9
+ # Copy requirements file
10
+ COPY requirements.txt .
11
+
12
+ # Install Python dependencies
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ # Copy application code
16
+ COPY . .
17
+
18
+ # Launch the app
19
+ CMD ["python", "app.py"]