Initial release

This commit is contained in:
Alessandro Santini
2025-02-02 10:21:16 +01:00
commit 96ba1dfa1b
9 changed files with 696 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM python:3.13-rc-slim
# Set working directory
WORKDIR /app
# Install Poetry
RUN pip install poetry
# Copy project files
COPY pyproject.toml poetry.lock ./
COPY main.py .
COPY .env .
# Configure Poetry to not create a virtual environment
RUN poetry config virtualenvs.create false
# Install dependencies
RUN poetry install --no-dev --no-interaction --no-ansi
# Run the bot
CMD ["python", "main.py"]