manav0506 commited on
Commit
d303c8e
·
1 Parent(s): d1fecac

Fix Dockerfile: remove missing libxcb-util0, keep only available libxcb packages

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -3,23 +3,16 @@ FROM python:3.10-slim
3
 
4
  WORKDIR /app
5
 
6
- # libxcb* for OpenCV/rembg (TripoSR background removal) in headless container
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
  build-essential \
9
  curl \
10
  git \
11
  libxcb1 \
12
- libxcb-xfixes0 \
13
  libxcb-shm0 \
14
  libxcb-render0 \
15
  libxcb-shape0 \
16
- libxcb-randr0 \
17
- libxcb-xinerama0 \
18
- libxcb-sync1 \
19
- libxcb-icccm4 \
20
- libxcb-keysyms1 \
21
- libxcb-image0 \
22
- libxcb-util0 \
23
  && rm -rf /var/lib/apt/lists/*
24
 
25
  COPY requirements.txt .
 
3
 
4
  WORKDIR /app
5
 
6
+ # libxcb for OpenCV/rembg (TripoSR background removal) - libxcb.so.1 and common deps
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
  build-essential \
9
  curl \
10
  git \
11
  libxcb1 \
 
12
  libxcb-shm0 \
13
  libxcb-render0 \
14
  libxcb-shape0 \
15
+ libxcb-xfixes0 \
 
 
 
 
 
 
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
  COPY requirements.txt .