14 lines
288 B
Docker
14 lines
288 B
Docker
|
# Set the base image
|
||
|
FROM python:3.12-slim
|
||
|
|
||
|
# Set the working directory inside the container
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN pip install --no-cache-dir requests discord.py
|
||
|
|
||
|
# Copy the rest of the application code
|
||
|
COPY . .
|
||
|
|
||
|
# Specify the command to run your Python application
|
||
|
CMD ["python", "main.py"]
|