Spaces:
Runtime error
Runtime error
Fix Dockerfile: remove missing libxcb-util0, keep only available libxcb packages
Browse files- Dockerfile +2 -9
Dockerfile
CHANGED
|
@@ -3,23 +3,16 @@ FROM python:3.10-slim
|
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
-
# libxcb
|
| 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-
|
| 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 .
|