123456789101112131415 |
- FROM python:3.9
- RUN apt-get update && apt-get install -y libgl1 tesseract-ocr tesseract-ocr-rus
- #RUN git clone https://github.com/ultralytics/yolov5.git /app/yolov5
- COPY ./src /app
- WORKDIR /app
- COPY requirements.txt .
- RUN pip install -r requirements.txt
- RUN pip install python-multipart
- EXPOSE 1234
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "1234"]
|