Shahd1sayed's picture
Deploy v2: multimodal ensemble router (Framingham tabular + ECG ResNet)
0f12291 verified
Raw
History Blame Contribute Delete
415 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files (v2 multimodal ensemble router)
COPY app.py .
COPY inference/ inference/
COPY models/ models/
COPY static/ static/
# Hugging Face Spaces expects port 7860
EXPOSE 7860
# Start the server
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]