discord-bot/Dockerfile
rainofdestiny e036908edb
Some checks failed
CI/CD / build (push) Failing after 28s
CI/CD / deploy (push) Has been skipped
Initial commit: Discord infrastructure bot
Commands: /status /logs /restart /deploy /metrics /backup
CI/CD: builds Docker image, pushes to git.csrx.ru registry, deploys to server

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 05:27:51 +07:00

12 lines
219 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Install dependencies first (cached layer)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy bot code
COPY bot.py .
CMD ["python", "-u", "bot.py"]