LeomordKaly commited on
Commit
6d06a95
·
verified ·
1 Parent(s): 873390c

deploy: rename Dockerfile.hf -> Dockerfile on the Space side

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -51,9 +51,11 @@ WORKDIR /app
51
  RUN useradd -m -u 1000 user
52
 
53
  # System deps for PDF / image processing only -- no OCR / paddle.
 
 
54
  RUN apt-get update \
55
  && apt-get install -y --no-install-recommends \
56
- libglib2.0-0 libsm6 libxext6 libxrender-dev libgl1-mesa-glx curl \
57
  && rm -rf /var/lib/apt/lists/*
58
 
59
  # Bring the virtualenv from the builder stage.
 
51
  RUN useradd -m -u 1000 user
52
 
53
  # System deps for PDF / image processing only -- no OCR / paddle.
54
+ # Debian 12+ (trixie) renamed libgl1-mesa-glx -> libgl1 and libxrender-dev
55
+ # is no longer needed at runtime (runtime is libxrender1).
56
  RUN apt-get update \
57
  && apt-get install -y --no-install-recommends \
58
+ libglib2.0-0 libsm6 libxext6 libxrender1 libgl1 curl \
59
  && rm -rf /var/lib/apt/lists/*
60
 
61
  # Bring the virtualenv from the builder stage.