FROM python:3.11-slim RUN apt-get update \ && apt-get install -y --no-install-recommends curl \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY pyproject.toml requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN pip install --no-cache-dir --no-deps . RUN chmod +x apps/start.sh EXPOSE 8000 CMD ["./apps/start.sh"]