mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-04 19:02:33 -06:00
добавил гигачада и заворачивание в проверку чека, если данные для QR распознались
This commit is contained in:
@@ -6,6 +6,7 @@ FROM python:3.10-slim
|
||||
# libgl1, libglib2.0-0: для работы OpenCV
|
||||
# libzbar0: для сканирования QR-кодов
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-rus \
|
||||
libgl1 \
|
||||
@@ -20,6 +21,9 @@ WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Установка сертификатов Минцифры для корректной работы GigaChat (requests использует certifi)
|
||||
RUN curl -k "https://gu-st.ru/content/Other/doc/russian_trusted_root_ca.cer" -w "\n" >> $(python -m certifi)
|
||||
|
||||
# Копируем код приложения
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user