Deepmind1 commited on
Commit
60f223e
·
verified ·
1 Parent(s): 11b3408

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # تثبيت أساسيات النظام
4
+ RUN apt-get update && apt-get install -y \
5
+ git ffmpeg wget curl \
6
+ libsm6 libxext6 \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ WORKDIR /app
10
+
11
+ # تثبيت Gradio فقط للتجربة الأولى
12
+ RUN pip install --no-cache-dir gradio==6.14.0
13
+
14
+ # نسخ المشروع
15
+ COPY . .
16
+
17
+ # تشغيل التطبيق
18
+ CMD ["python", "app.py"]