infra/discord-nitter-bot/Dockerfile
Gabriel Simmer 75854e0e46
Some checks failed
Lint / lint (push) Has been cancelled
Remove port exposure from Discord bot
2024-04-06 00:30:15 +01:00

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"]