add Dockerfile

This commit is contained in:
2026-05-28 12:52:17 +03:00
parent ed56ecdbaa
commit 36a1cdee1d
+11
View File
@@ -0,0 +1,11 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY bot.py .
COPY .env .
CMD sh -c "export $(grep -v '^#' .env | xargs) && python bot.py"