Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -23
Dockerfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
# Install Tesseract and other dependencies
|
| 2 |
-
RUN apt-get update && apt-get install -y \
|
| 3 |
-
tesseract-ocr \
|
| 4 |
-
libtesseract-dev \
|
| 5 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 6 |
-
|
| 7 |
-
# Set working directory
|
| 8 |
-
WORKDIR /app
|
| 9 |
-
|
| 10 |
-
# Copy requirements and install
|
| 11 |
-
COPY requirements.txt .
|
| 12 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
-
|
| 14 |
-
# Copy app and model files
|
| 15 |
-
COPY app.py .
|
| 16 |
-
COPY front_cnic_model.pt .
|
| 17 |
-
COPY back_cnic_model.pt .
|
| 18 |
-
|
| 19 |
-
# Expose port for Gradio
|
| 20 |
-
EXPOSE 7860
|
| 21 |
-
|
| 22 |
-
# Run the app
|
| 23 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|