Dileep7729 commited on
Commit
2ec8869
·
verified ·
1 Parent(s): 30ba6d5

Create dockerfile

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