Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -10,8 +10,12 @@ COPY . /app
|
|
10 |
|
11 |
# Install Python dependencies
|
12 |
RUN pip install -r requirements.txt
|
13 |
-
|
14 |
RUN mkdir -p /app/flagged && chmod 777 /app/flagged
|
|
|
|
|
|
|
|
|
15 |
# Set the Tesseract path for pytesseract
|
16 |
ENV TESSDATA_PREFIX /usr/share/
|
17 |
|
|
|
10 |
|
11 |
# Install Python dependencies
|
12 |
RUN pip install -r requirements.txt
|
13 |
+
|
14 |
RUN mkdir -p /app/flagged && chmod 777 /app/flagged
|
15 |
+
ENV MPLCONFIGDIR=/app/matplotlib-config
|
16 |
+
ENV MATPLOTLIBDATA=/app/matplotlib-data
|
17 |
+
RUN mkdir -p $MPLCONFIGDIR && chmod 777 $MPLCONFIGDIR
|
18 |
+
RUN mkdir -p $MATPLOTLIBDATA && chmod 777 $MATPLOTLIBDATA
|
19 |
# Set the Tesseract path for pytesseract
|
20 |
ENV TESSDATA_PREFIX /usr/share/
|
21 |
|