don0726 commited on
Commit
cefd50a
·
verified ·
1 Parent(s): 1219e5f

Create Dockerfile

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