Spaces:
Sleeping
Sleeping
# Gunakan image Python | |
FROM python:3.9 | |
# Set direktori kerja | |
WORKDIR /app | |
# Salin semua file ke container | |
COPY . . | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Jalankan aplikasi FastAPI menggunakan Uvicorn | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |