Allinone / Dockerfile
RANA
using wsgi which is gunicorn
b573744
raw
history blame
No virus
251 Bytes
FROM python:3.9
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y libgl1-mesa-glx
RUN python -c "import cv2; import numpy"
COPY . .
EXPOSE 7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]