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:
Václav Vančura 2025-01-22 12:13:00 +01:00 committed by Adam Kliment
parent ac7c5053f0
commit 4dce886b17

View File

@ -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 && \
rm -rf /var/lib/apt/lists/* && \
\
pip install --no-cache-dir docling && \
npm install -g apify-cli && \
pip install --no-cache-dir --upgrade pip && \
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
WORKDIR /app