KZTech commited on
Commit
723f9b2
·
verified ·
1 Parent(s): bb05c00

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Hugging Face’s OCR base image (includes Tesseract)
2
+ FROM ghcr.io/huggingface/spaces-sdk:ocr
3
+
4
+ # Copy dependencies and install
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ # Copy app code
9
+ COPY app.py .
10
+
11
+ # Launch the Streamlit app
12
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]