Files
join2create/Dockerfile
Gefaehrbert 743f917bc3 initial
2024-05-18 04:13:47 +02:00

15 lines
277 B
Docker

FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy the requirements.txt and the script to the container
COPY requirements.txt .
COPY bot.py .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Run the bot
CMD ["python", "bot.py"]