smishr-18 commited on
Commit
6420234
1 Parent(s): 8700db3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -10,8 +10,12 @@ COPY . /app
10
 
11
  # Install Python dependencies
12
  RUN pip install -r requirements.txt
13
- ENV MPLCONFIGDIR=/app/matplotlib-config
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