Files
gupbot/Dockerfile

18 lines
380 B
Docker

# Use the official Python image
FROM python:3.10-slim
LABEL com.centurylinklabs.watchtower.enable="false"
# 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"]