Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -7
Dockerfile
CHANGED
|
@@ -5,13 +5,12 @@ FROM python:3.10-slim
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Install system dependencies
|
| 8 |
-
RUN apt-get update && apt-get install -y
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
# Copy the current directory contents into the container at /app
|
| 17 |
COPY . /app
|
|
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Install system dependencies
|
| 8 |
+
RUN apt-get update && apt-get install -y
|
| 9 |
+
RUN apt-get install -y tesseract-ocr
|
| 10 |
+
RUN apt-get install -y libtesseract-dev
|
| 11 |
+
RUN apt-get install -y libgl1-mesa-glx
|
| 12 |
+
RUN apt-get install -y libglib2.0-0
|
| 13 |
+
RUN pip install --upgrade pip
|
|
|
|
| 14 |
|
| 15 |
# Copy the current directory contents into the container at /app
|
| 16 |
COPY . /app
|