-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (19 loc) · 751 Bytes
/
Dockerfile
File metadata and controls
23 lines (19 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ============================================================
#Group Manager Bot
# Author: LearningBotsOfficial (https://github.com/LearningBotsOfficial)
# Support: https://t.me/LearningBotsCommunity
# Channel: https://t.me/learning_bots
# YouTube: https://youtube.com/@learning_bots
# License: Open-source (keep credits, no resale)
# ============================================================
# Start from a lightweight Python image
FROM python:3.10-slim
WORKDIR /app
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
# Environment variable to force unbuffered output (helps in logging)
ENV PYTHONUNBUFFERED=1
# Run the bot..
CMD ["python", "main.py"]