Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
5f082a2
1
Parent(s):
2bc3506
Update Dockerfile
Browse files- 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 |
-
|
11 |
-
|
|
|
|
|
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 |
|