gen requirement
build image thêm ngôn ngữ tiếng việt sửa logo sửa 1 số text sang tiêngs việt
This commit is contained in:
@@ -89,6 +89,7 @@ ARG RUNTIME_PACKAGES="\
|
||||
mariadb-client \
|
||||
# OCRmyPDF dependencies
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-vie \
|
||||
tesseract-ocr-eng \
|
||||
tesseract-ocr-deu \
|
||||
tesseract-ocr-fra \
|
||||
@@ -245,6 +246,8 @@ RUN --mount=type=cache,target=/root/.cache/pip/,id=pip-cache \
|
||||
# copy backend
|
||||
COPY --chown=1000:1000 ./src ./
|
||||
|
||||
RUN pip3 install python-decouple==3.8
|
||||
|
||||
# copy frontend
|
||||
COPY --from=compile-frontend --chown=1000:1000 /src/src/documents/static/frontend/ ./documents/static/frontend/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user