mohamedalix546 commited on
Commit
6b21c20
·
verified ·
1 Parent(s): d35e7dc

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ COPY . /app
4
+ WORKDIR /app
5
+
6
+ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
7
+
8
+ # تشغيل التطبيق على المنفذ 7860 (الافتراضي في Spaces)
9
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]