Reooiq commited on
Commit
9bb9b93
·
verified ·
1 Parent(s): 518f9e0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -2,9 +2,15 @@ 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 . .
9
 
 
 
 
10
  CMD ["python", "bot.py"]
 
2
 
3
  WORKDIR /app
4
 
5
+ # طباعة الـ Logs فوراً
6
+ ENV PYTHONUNBUFFERED=1
7
+
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY . .
12
 
13
+ # السماح لـ Hugging Face بالوصول للسيرفر الوهمي
14
+ EXPOSE 7860
15
+
16
  CMD ["python", "bot.py"]