mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 23:12:20 +00:00
Actor: Update dependencies with fixed versions
Upgrade pip and npm to latest versions, pin docling to 2.15.1 and apify-cli to 2.7.1 for better stability and reproducibility. This change helps prevent unexpected behavior from dependency updates and ensures consistent builds across environments. Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
parent
ac7c5053f0
commit
4dce886b17
@ -13,8 +13,10 @@ RUN groupadd -r appuser && useradd -r -g appuser -s /sbin/nologin appuser && \
|
|||||||
apt-get update && apt-get install -y nodejs && apt-get clean && \
|
apt-get update && apt-get install -y nodejs && apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
\
|
\
|
||||||
pip install --no-cache-dir docling && \
|
pip install --no-cache-dir --upgrade pip && \
|
||||||
npm install -g apify-cli && \
|
pip install --no-cache-dir docling==2.15.1 && \
|
||||||
|
npm install -g npm@latest && \
|
||||||
|
npm install -g apify-cli@2.7.1 && \
|
||||||
npm cache clean --force
|
npm cache clean --force
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
Reference in New Issue
Block a user