Zenkamind-api-test / DockerFile
Zenkad's picture
Update DockerFile
8cde659 verified
raw
history blame contribute delete
277 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
# Gunicorn ile çalıştır
CMD ["gunicorn", "app:app", "--workers", "2", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860"]