From afe01b933516139a254631c5c58148ee521ddb8b Mon Sep 17 00:00:00 2001 From: Romulo Quidute Filho Date: Tue, 14 Jul 2026 10:04:55 -0300 Subject: [PATCH] Remove nodejs/npm/cspell install from Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit npm@latest now requires node >=22, incompatible with the node 20.x installed here, breaking the backend image build (npm error EBADENGINE). Spell checking already runs independently in CI via streetsidesoftware/cspell-action (.github/workflows/spell-check.yml) and scripts/lint.sh is only invoked by developers locally — neither needs node/npm/cspell baked into the runtime image. Fixes #1044 --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59ff1537..56787fe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,12 +61,6 @@ RUN curl -sSL https://install.python-poetry.org | python3 - && \ # Install Docker RUN curl -sSL https://get.docker.com/ | sh -# Install nodejs, npm and spell checker -RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - -RUN apt-get install -y nodejs -RUN npm install -g npm@latest -RUN npm install -g cspell@latest - # Allow installing dev dependencies to run tests # Copy poetry dependecy files and install dependencies # We copy install dependencies before copying all app source to reuse the dependency install step in docker.