Harshit Ghosh commited on
Commit
cc2e4dc
·
1 Parent(s): 3f36421

Fix OpenCV missing libxcb and libgl1 dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -7,6 +7,12 @@ ENV PYTHONUNBUFFERED=1
7
  ENV PORT=7860
8
  ENV DEBIAN_FRONTEND=noninteractive
9
 
 
 
 
 
 
 
10
 
11
  # Set work directory
12
  WORKDIR /app
 
7
  ENV PORT=7860
8
  ENV DEBIAN_FRONTEND=noninteractive
9
 
10
+ # Install system dependencies for OpenCV and DICOM processing
11
+ RUN apt-get update && apt-get install -y \
12
+ libgl1 \
13
+ libglib2.0-0 \
14
+ libxcb1 \
15
+ && rm -rf /var/lib/apt/lists/*
16
 
17
  # Set work directory
18
  WORKDIR /app