alice55505 commited on
Commit
b18cef1
·
verified ·
1 Parent(s): d5a931f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ ffmpeg \
7
+ libgl1 \
8
+ libglib2.0-0 \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ RUN pip install --upgrade pip setuptools
12
+
13
+ COPY requirements.txt .
14
+ RUN pip install -r requirements.txt
15
+
16
+ COPY . .
17
+
18
+ CMD ["python", "app.py"]