Akwbw commited on
Commit
3893dea
·
verified ·
1 Parent(s): 92be072

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 dependencies
6
+ RUN apt-get update && apt-get install -y \
7
+ git \
8
+ ffmpeg \
9
+ libgl1 \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ # Python dependencies
13
+ COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # App code
17
+ COPY app.py .
18
+
19
+ EXPOSE 7860
20
+
21
+ CMD ["python", "app.py"]