aksara-lontara-api / Dockerfile
ArsanForEver's picture
Create Dockerfile
8e0b3a2 verified
raw
history blame contribute delete
307 Bytes
# 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"]