Spaces:
Sleeping
Sleeping
Download Dockerfile from WildOjisan/FastAPI2604_HF: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/WildOjisan/FastAPI2604_HF/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/WildOjisan/FastAPI2604_HF/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/WildOjisan/FastAPI2604_HF/resolve/main/Dockerfile
353 Bytes
| FROM python:3.13-slim | |
| WORKDIR /app | |
| # 패키지 설치 | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| # 프로젝트 전체 복사 | |
| COPY . . | |
| # Hugging Face Spaces 기본 포트 | |
| EXPOSE 7860 | |
| # FastAPI 실행 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |