Skip to content

Commit 2187688

Browse files
committed
fix torch build
1 parent fbf1c24 commit 2187688

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pdf_ocr/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ FROM python:3.12-slim
22

33
WORKDIR /app
44

5-
RUN apt-get update && apt-get install -y
5+
# Install necessary system packages
6+
RUN apt-get update && apt-get install -y \
7+
libgl1-mesa-glx \
8+
&& rm -rf /var/lib/apt/lists/*
69

710
RUN pip install poetry
811

0 commit comments

Comments
 (0)