Cxops commited on
Commit
43208d0
·
verified ·
1 Parent(s): 8acb966

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -9
Dockerfile CHANGED
@@ -2,16 +2,13 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies (none extra, but keep for safety)
6
- RUN apt-get update && apt-get install -y --no-install-recommends \
7
- && rm -rf /var/lib/apt/lists/*
8
 
9
- COPY requirements.txt .
10
- RUN pip install --no-cache-dir -r requirements.txt
11
 
12
- COPY . .
13
-
14
- # Expose port 7860 for Hugging Face health checks
15
  EXPOSE 7860
16
 
17
- CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install dependencies
6
+ RUN pip install --no-cache-dir pyrogram huggingface_hub aiohttp tgcrypto
 
7
 
8
+ # Copy the bot
9
+ COPY bot.py .
10
 
11
+ # Hugging Face Spaces needs port 7860
 
 
12
  EXPOSE 7860
13
 
14
+ CMD ["python", "bot.py"]