neerajkalyank commited on
Commit
d588ddd
1 Parent(s): 3577549

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -12
Dockerfile CHANGED
@@ -1,18 +1,7 @@
1
  # Use an official Python slim image
2
  FROM python:3.10-slim
3
 
4
- # Install Tesseract OCR and its dependencies
5
- RUN apt-get update && \
6
- apt-get install -y tesseract-ocr && \
7
- apt-get clean
8
-
9
- # Verify Tesseract installation by checking version and path
10
- RUN which tesseract && tesseract --version
11
-
12
- # Set the Tesseract path environment variable, just in case
13
- ENV TESSDATA_PREFIX=/usr/share/tesseract-ocr/4.00/tessdata/
14
-
15
- # Copy requirements.txt and install Python dependencies
16
  COPY requirements.txt .
17
  RUN pip install -r requirements.txt
18
 
 
1
  # Use an official Python slim image
2
  FROM python:3.10-slim
3
 
4
+ # Install Python dependencies
 
 
 
 
 
 
 
 
 
 
 
5
  COPY requirements.txt .
6
  RUN pip install -r requirements.txt
7