mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 21:35:19 +00:00
- Upgrade Python to 3.11 and update dependencies. - Refactor main.py to isolate business logic. - Fix bugs in flow_engine.py and printer.py. - Improve database connection handling. - Standardize error handling. - Verify secret management.
16 lines
296 B
Docker
16 lines
296 B
Docker
# Python base image
|
|
FROM python:3.11-slim
|
|
|
|
# Set working directory
|
|
WORKDIR /talia_bot
|
|
|
|
# Copy and install requirements
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Copy the package contents
|
|
COPY bot bot
|
|
|
|
# Run the bot via the package entrypoint
|
|
CMD ["python", "-m", "bot.main"]
|