Spaces:
Runtime error
Runtime error
Download Dockerfile from osmankoc/zoa-llm-api: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/osmankoc/zoa-llm-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/osmankoc/zoa-llm-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/osmankoc/zoa-llm-api/resolve/main/Dockerfile
395 Bytes
| # Resmi Python görüntüsünü kullan | |
| FROM python:3.9 | |
| # Çalışma dizinini oluştur | |
| WORKDIR /app | |
| # Gerekli dosyaları kopyala | |
| COPY requirements.txt requirements.txt | |
| # Bağımlılıkları yükle | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Ana uygulama dosyasını kopyala | |
| COPY app.py app.py | |
| # FastAPI çalıştır | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |