Spaces:
Runtime error
Runtime error
File size: 253 Bytes
011157a f63f7d4 4ead284 f63f7d4 4ead284 f63f7d4 4ead284 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | FROM python:3.10-slim
WORKDIR /app
# Copy requirements dan install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy semua file
COPY . .
# Gunicorn untuk expose Flask
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|