yashgori / Dockerfile
yashgori20's picture
Create Dockerfile
ec468ae verified
raw
history blame contribute delete
215 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py .
EXPOSE 7860
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "app:app"]