feat: implement an RSS Discord bot with slash commands for feed management and Docker support.

This commit is contained in:
2026-03-21 20:54:46 +01:00
commit 6ec1df4f78
14 changed files with 1172 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM python:3.12-slim AS base
# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
# Copy dependency files first for better layer caching
COPY pyproject.toml uv.lock* ./
# Install dependencies
RUN uv sync --no-dev --no-install-project
# Copy source code
COPY src/ ./src/
# Install the project itself
RUN uv sync --no-dev
# Create data directory
RUN mkdir -p /app/data
ENV DATA_DIR=/app/data
CMD ["uv", "run", "python", "-m", "src.main"]