gopichandra commited on
Commit
443f4db
·
verified ·
1 Parent(s): c767428

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -34
Dockerfile DELETED
@@ -1,34 +0,0 @@
1
- # Use a full Debian-based image with Python
2
- FROM python:3.9-slim
3
-
4
- # Set environment variables for non-interactive installs
5
- ENV DEBIAN_FRONTEND=noninteractive
6
-
7
- # Install Tesseract and required system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- tesseract-ocr \
10
- libtesseract-dev \
11
- libleptonica-dev \
12
- poppler-utils \
13
- pkg-config \
14
- build-essential \
15
- python3-dev \
16
- && rm -rf /var/lib/apt/lists/*
17
-
18
- # (Optional) Add Hindi or other Tesseract language packs if needed:
19
- # RUN apt-get install -y tesseract-ocr-hin tesseract-ocr-eng
20
-
21
- # Set working directory
22
- WORKDIR /app
23
-
24
- # Copy project files
25
- COPY . .
26
-
27
- # Install Python dependencies
28
- RUN pip install --no-cache-dir -r requirements.txt
29
-
30
- # Set environment PATH explicitly in case PATH issues exist
31
- ENV PATH="/usr/bin/tesseract:${PATH}"
32
-
33
- # Default command to run the Gradio app
34
- CMD ["python", "app.py"]