fix:hapus docker

This commit is contained in:
muhamad fais aizat 2025-05-16 14:47:05 +07:00
parent 21f6e317ea
commit ddfbe93871
3 changed files with 2 additions and 17 deletions

View File

@ -1,15 +0,0 @@
# Gunakan image Python versi 3.9
FROM python:3.9-slim
# Buat working directory
WORKDIR /app
# Copy requirements dan install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Salin semua file ke dalam container
COPY . .
# Jalankan Uvicorn
CMD ["uvicorn", "index:app", "--host", "0.0.0.0", "--port", "8000"]

Binary file not shown.

View File

@ -2,8 +2,8 @@
"version": 2,
"builds": [
{
"src": "Dockerfile",
"use": "@vercel/docker"
"src": "index.py",
"use": "@vercel/python"
}
],
"routes": [