ulduldp commited on
Commit
54702a0
·
verified ·
1 Parent(s): 157aba0

Create DockerFile

Browse files
Files changed (1) hide show
  1. DockerFile +18 -0
DockerFile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Dockerfile
2
+
3
+ FROM python:3.11-slim
4
+
5
+ # Install ffmpeg WITHOUT sudo
6
+ RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
7
+
8
+ WORKDIR /app
9
+
10
+ COPY requirements.txt .
11
+
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ COPY . .
15
+
16
+ EXPOSE 5000
17
+
18
+ CMD ["python", "app.py"]