make turn detection configurable

This commit is contained in:
Abhishek Kumar 2026-02-05 13:09:11 +05:30
parent 2d4a7b49b0
commit 8f67e48d45
5 changed files with 115 additions and 111 deletions

View file

@ -13,6 +13,11 @@ RUN apt-get update && apt-get install -y \
# Copy and install requirements
COPY api/requirements.txt .
# Install CPU-only PyTorch FIRST to prevent CUDA/NVIDIA dependencies
# This satisfies torch dependency before other packages try to pull GPU version
RUN pip install --user --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \
rm -rf /root/.cache/pip
# Install dependencies to user directory for easy copying
RUN pip install --user --no-cache-dir -r requirements.txt && \
# Clean up pip cache after installation