Spaces:
Runtime error
Runtime error
Download Dockerfile from Justtalk/JusTalk: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/Justtalk/JusTalk/resolve/refs%2Fpr%2F3/Dockerfile
- Command line
-
hf download hf://spaces/Justtalk/JusTalk@refs/pr/3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Justtalk/JusTalk/resolve/refs%2Fpr%2F3/Dockerfile
369 Bytes
| # Dockerfile | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # 依存関係のインストール | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # アプリの全ファイルをコピー | |
| COPY . . | |
| RUN touch weak_phrases.json && chmod 666 weak_phrases.json | |
| # Hugging Face Spaces ではポート 7860 を使用する | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |