File size: 317 Bytes
3f1251f
 
23bd333
3f1251f
 
23bd333
3f1251f
 
 
23bd333
3f1251f
 
23bd333
3f1251f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.10-slim

# Server ichida ishchi papka yaratamiz
WORKDIR /app

# Kutubxonalar ro'yxatini nusxalab, o'rnatamiz
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Loyihadagi barcha fayllarni serverga nusxalaymiz
COPY . .

# Botni ishga tushirish buyrug'i
CMD ["python", "bot.py"]