gopichandra commited on
Commit
bb99d02
·
verified ·
1 Parent(s): d7a910d

Update dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +14 -0
dockerfile CHANGED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ # Install Tesseract and dependencies
4
+ RUN apt-get update && apt-get install -y tesseract-ocr libtesseract-dev
5
+
6
+ # Install Python dependencies
7
+ COPY requirements.txt .
8
+ RUN pip install -r requirements.txt
9
+
10
+ # Copy application code
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ CMD ["python", "app.py"]