Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -11,6 +11,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
| 11 |
# Install the dependencies
|
| 12 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
# Copy the rest of the application code
|
| 15 |
COPY . /code
|
| 16 |
|
|
|
|
| 11 |
# Install the dependencies
|
| 12 |
RUN pip install --no-cache-dir -r /code/requirements.txt
|
| 13 |
|
| 14 |
+
# Install EasyOCR dependencies
|
| 15 |
+
RUN apt-get update && \
|
| 16 |
+
apt-get install -y \
|
| 17 |
+
libgl1-mesa-glx \
|
| 18 |
+
libglib2.0-0
|
| 19 |
# Copy the rest of the application code
|
| 20 |
COPY . /code
|
| 21 |
|