Reooiq commited on
Commit
f936ff1
·
verified ·
1 Parent(s): 595893d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -1,14 +1,10 @@
1
  FROM python:3.10-slim
2
 
3
- # تحديد مجلد العمل والتأكد من وجوده
4
  WORKDIR /app
5
 
6
- # نسخ الملفات بشكل صريح
7
- COPY requirements.txt /app/requirements.txt
8
- COPY app.py
9
-
10
- # تثبيت المتطلبات
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # أمر التشغيل
 
14
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  WORKDIR /app
4
 
5
+ COPY requirements.txt .
 
 
 
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
+ COPY app.py .
9
+
10
  CMD ["python", "app.py"]