Sensei13k commited on
Commit
f64df90
1 Parent(s): 9a30d04

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Install Tesseract OCR
4
+ RUN apt-get update && apt-get install -y \
5
+ tesseract-ocr \
6
+ libtesseract-dev \
7
+ pkg-config \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ # Copy your app files
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ # Install Python dependencies
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
+
17
+ # Run your Gradio app
18
+ CMD ["gradio", "app.py"]