Files
jacobs-bot/Dockerfile
ForeverPyrite 2e23dffe3d first commit
2025-02-20 22:48:49 -05:00

17 lines
371 B
Docker

# Use the official Python image from the Docker Hub
FROM python:3.12-slim
# Set working directory in the container
WORKDIR /app
# Copy requirements.txt
COPY requirements.txt .
# Install the required packages
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application files
COPY . .
# Command to run the application
CMD ["python", "app.py"]