infra/discord-nitter-bot/Dockerfile

17 lines
353 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 . .
# Expose the ports needed to access the application
EXPOSE 8080
# Specify the command to run your Python application
CMD ["python", "main.py"]