# ============================================================ # MUSIC DOSSIER AI — Hugging Face Spaces (Docker) # ============================================================ FROM python:3.10-slim # システムパッケージ RUN apt-get update && apt-get install -y \ wget \ ffmpeg \ libsndfile1 \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Pythonパッケージ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # アプリ本体 COPY app.py . # HF Spacesはポート7860を使う EXPOSE 7860 # 起動 CMD ["python", "app.py"]