CoolFace
Apppublic

ofc01/sentinel-zero

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
Dockerfile25 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /app4 5# Install dependencies first (cache layer)6COPY requirements.txt .7RUN pip install --no-cache-dir -r requirements.txt8 9# Copy backend source files10COPY app.py .11COPY core/ core/12COPY sift_mcp_server/ sift_mcp_server/13COPY demo_data/ demo_data/14 15# Create logs directory16RUN mkdir -p logs17 18# HF Spaces requires port 786019ENV PORT=786020 21EXPOSE 786022 23# Run FastAPI via uvicorn24CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--timeout-keep-alive", "120"]25