CAPSTONE-FINAL / Dockerfile
Bao2311's picture
Upload Dockerfile with huggingface_hub
d226691 verified
Raw
History Blame Contribute Delete
442 Bytes
FROM python:3.10-slim
# System deps for librosa, soundfile, NeMo
RUN apt-get update && apt-get install -y \
git \
ffmpeg \
libsndfile1 \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
# HF Spaces uses port 7860
EXPOSE 7860
CMD ["python", "app.py"]