---
This commit is contained in:
parent
0e08b4fc48
commit
dd52665dfe
@ -16,7 +16,8 @@ WORKDIR /install/api
|
|||||||
# get Polish language train data
|
# get Polish language train data
|
||||||
# RUN wget -P /usr/share/tesseract-ocr/4.00/tessdata/ https://github.com/tesseract-ocr/tessdata/raw/4.00/pol.traineddata
|
# RUN wget -P /usr/share/tesseract-ocr/4.00/tessdata/ https://github.com/tesseract-ocr/tessdata/raw/4.00/pol.traineddata
|
||||||
|
|
||||||
RUN mv ./tesseract_data/pol.traineddata /usr/share/tesseract-ocr/4.00/tessdata/
|
RUN mv ./tesseract_data/pol.traineddata /usr/share/tesseract-ocr/4.00/tessdata/ && \
|
||||||
|
chmod 777 /usr/share/tesseract-ocr/4.00/tessdata/pol.traineddata
|
||||||
|
|
||||||
RUN pip3 install pipenv_to_requirements gunicorn && \
|
RUN pip3 install pipenv_to_requirements gunicorn && \
|
||||||
pipenv run pipenv_to_requirements && \
|
pipenv run pipenv_to_requirements && \
|
||||||
|
Loading…
Reference in New Issue
Block a user