FROM python:3.12-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir --only-binary :all: -r requirements.txt COPY . . RUN mkdir -p /app/uploads/bot RUN python -m pytest tests/ -v --tb=short || true EXPOSE 8002 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8002", "--workers", "2"]