dinhquangson commited on
Commit
5f082a2
1 Parent(s): 2bc3506

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -7,8 +7,10 @@ WORKDIR /code
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
- #RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
11
- #RUN apt-get install libjpeg-dev
 
 
12
  # Install requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
14
 
 
7
  # Copy the current directory contents into the container at /code
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
+ RUN apt-get install poppler-utils -y
11
+ RUN apt-get install libleptonica-dev tesseract-ocr tesseract-ocr-dev libtesseract-dev python3-pil tesseract-ocr-eng tesseract-ocr-script-latn -y
12
+ RUN apt-get install tesseract-ocr-vie -y
13
+
14
  # Install requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
16