Files
gupbot/Dockerfile
2025-01-20 20:13:01 +00:00

16 lines
327 B
Docker

# Use the official Python image
FROM python:3.10-slim
# Set the working directory in the container
WORKDIR /gupbot
# Copy the application code into the container
ADD gupbot /gupbot
# Install required Python packages
RUN pip install --no-cache-dir discord.py
# Command to run your Python script
CMD ["python", "gupbot.py"]