mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 21:35:19 +00:00
16 lines
295 B
Docker
16 lines
295 B
Docker
# Python base image
|
|
FROM python:3.9-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"]
|