Stage 01 - bootstrap v2 stable start

This commit is contained in:
2026-04-13 20:47:04 +03:00
commit 551b4bd690
51 changed files with 1190 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
services:
bot:
build:
context: ../..
dockerfile: infra/docker/Dockerfile
container_name: dzentra_bot
restart: unless-stopped
env_file:
- ../../app/.env

12
infra/docker/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /project
COPY app /project/app
RUN pip install --no-cache-dir -r /project/app/requirements.txt
WORKDIR /project/app
CMD ["python", "-m", "src.main"]