SPILL / Dockerfile
Louadria's picture
fix: depth scaling, device detection, and sanity check for 3D tab
1e53f0f
raw
history blame contribute delete
377 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY . .
RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 \
libglib2.0-0 \
libomp-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
# Force CUDA for HF Spaces (local dev defaults to CPU for safety)
ENV SPILL_FORCE_CUDA=1
EXPOSE 7860
CMD ["python", "app.py"]