Nasma commited on
Commit
c2a619c
·
verified ·
1 Parent(s): 471f743

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Install Tesseract
4
+ RUN apt-get update && apt-get install -y tesseract-ocr
5
+
6
+ # Set working directory
7
+ WORKDIR /app
8
+
9
+ # Copy files
10
+ COPY . .
11
+
12
+ # Install dependencies
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ # Run the app
16
+ CMD ["python", "app.py"]