FROM python:3.10-slim WORKDIR /app COPY requirements.txt . RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY src /app/src COPY tests /app/tests COPY models /app/models EXPOSE 80 CMD ["python", "src/main.py"]