Spaces:
Sleeping
Sleeping
Download Dockerfile from osewanin/SoundMissionAI: direct link, hf CLI and curl.
- Browser
- Download file 583 Bytes
-
https://huggingface.co/spaces/osewanin/SoundMissionAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/osewanin/SoundMissionAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/osewanin/SoundMissionAI/resolve/main/Dockerfile
583 Bytes
| # ============================================================ | |
| # 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"] | |