bertani / Dockerfile
huha3's picture
Update Dockerfile
011157a verified
Raw History Blame Contribute Delete
253 Bytes
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"]