hrvelo/fuga-id
0
1FROM python:3.11-slim2 3# System dependencies: BLAST+, audio libs, ffmpeg4RUN apt-get update && apt-get install -y \5 ncbi-blast+ \6 libsndfile1 \7 ffmpeg \8 && rm -rf /var/lib/apt/lists/*9 10WORKDIR /app11 12# Install Python dependencies (cached as a separate layer)13COPY web/backend/requirements.txt .14RUN pip install --no-cache-dir -r requirements.txt15 16# Copy application code and data17COPY web/ web/18COPY data/ data/19 20# Hugging Face Spaces requires port 786021ENV PORT=786022EXPOSE 786023 24WORKDIR /app/web/backend25CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]26 