Spaces:
Runtime error
Runtime error
fixe
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -4,7 +4,12 @@ WORKDIR /app
|
|
4 |
|
5 |
COPY . /app/
|
6 |
RUN pip install --upgrade pip
|
7 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
8 |
COPY requirements.txt requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
4 |
|
5 |
COPY . /app/
|
6 |
RUN pip install --upgrade pip
|
7 |
+
RUN apt-get update && apt-get install -y \
|
8 |
+
tesseract-ocr \
|
9 |
+
tesseract-ocr-fra \
|
10 |
+
libtesseract-dev \
|
11 |
+
&& apt-get clean \
|
12 |
+
&& rm -rf /var/lib/apt/lists/*
|
13 |
COPY requirements.txt requirements.txt
|
14 |
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|