ChintanSatva commited on
Commit
2d90eac
·
verified ·
1 Parent(s): e46f22a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -15,18 +15,23 @@ RUN apt-get update && apt-get install -y \
15
  python3.10 \
16
  python3-pip \
17
  tesseract-ocr \
 
18
  libtesseract-dev \
19
  poppler-utils \
20
  libopencv-dev \
21
  tzdata \
 
 
22
  && apt-get clean \
23
  && rm -rf /var/lib/apt/lists/*
24
 
25
- # Pre-install NumPy to enforce version
26
- RUN pip3 install --no-cache-dir
27
 
28
- # Install Python dependencies
29
  COPY requirements.txt .
 
 
30
  RUN pip3 install --no-cache-dir -r requirements.txt
31
 
32
  # Copy application code
 
15
  python3.10 \
16
  python3-pip \
17
  tesseract-ocr \
18
+ tesseract-ocr-ara \
19
  libtesseract-dev \
20
  poppler-utils \
21
  libopencv-dev \
22
  tzdata \
23
+ wget \
24
+ curl \
25
  && apt-get clean \
26
  && rm -rf /var/lib/apt/lists/*
27
 
28
+ # Set working directory
29
+ WORKDIR /app
30
 
31
+ # Copy requirements first for better caching
32
  COPY requirements.txt .
33
+
34
+ # Install Python dependencies
35
  RUN pip3 install --no-cache-dir -r requirements.txt
36
 
37
  # Copy application code