Spaces:
Runtime error
Runtime error
Download Dockerfile from Bennie12/ScamGuard-AI: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/Bennie12/ScamGuard-AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Bennie12/ScamGuard-AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Bennie12/ScamGuard-AI/resolve/main/Dockerfile
291 Bytes
| FROM python:3.10 | |
| # 設定工作目錄 | |
| WORKDIR /code | |
| # 複製 requirements.txt 並安裝套件 | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 複製所有專案檔案 | |
| COPY . . | |
| # 啟動 FastAPI | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |