initial verstion

This commit is contained in:
2026-03-26 19:06:08 +04:00
commit a20e4719af
8 changed files with 238 additions and 0 deletions

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
# Use a specific version for stability
FROM python:3.11-slim
# Install system dependencies for image processing
RUN apt-get update && apt-get install -y \
libheif-dev \
libde265-0 \
libjpeg62-turbo \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install python dependencies
# Using --no-cache-dir to keep the image small
RUN pip install --no-cache-dir \
aiogram \
pillow-heif \
Pillow \
prometheus_client \
aiohttp
# Copy your bot code
COPY bot.py .
# Standardize ports
EXPOSE 8000 8080
CMD ["python", "bot.py"]