zoa-llm-api / Dockerfile
osmankoc's picture
Initial commit: FastAPI Hugging Face deployment
d844f20
raw
history blame
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"]