FROM python:3.11-slim WORKDIR /app # 1. Install requirements COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # 2. Copy the rest of your app code COPY . . # (Remove the 'RUN pip install -e .' line completely)