FROM python:3.12-slim WORKDIR /app # Install system dependencies (AppArmor) RUN apt-get update && apt-get install -y apparmor COPY requirements.txt requirements.txt RUN pip install -r requirements.txt # Copy the entire project COPY . . # Run the main application CMD ["python", "main.py"]