From 4dce886b17ee5e277c22401b6c3f7125ca1cf0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Van=C4=8Dura?= Date: Wed, 22 Jan 2025 12:13:00 +0100 Subject: [PATCH] Actor: Update dependencies with fixed versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .actor/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.actor/Dockerfile b/.actor/Dockerfile index d359da8d..e36d52e0 100644 --- a/.actor/Dockerfile +++ b/.actor/Dockerfile @@ -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