Sanjayraju30 commited on
Commit
82635c3
·
verified ·
1 Parent(s): 8c2b498

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ RUN apt-get update && apt-get install -y tesseract-ocr libgl1-mesa-glx libglib2.0-0
4
+
5
+ COPY requirements.txt .
6
+
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY . .
10
+
11
+ ENV GRADIO_SERVER_PORT=7860 ENV GRADIO_SERVER_ADDRESS=0.0.0.0
12
+
13
+ CMD ["python", "app.py"]