diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index bc92b1571e1..84d7800bed7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Cache dependencies uses: actions/cache@v4 diff --git a/Dockerfile.nginx-alpine b/Dockerfile.nginx-alpine index 3d479106c11..faa244612be 100644 --- a/Dockerfile.nginx-alpine +++ b/Dockerfile.nginx-alpine @@ -34,7 +34,7 @@ RUN CPUCOUNT=1 pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt FROM build AS collectstatic # Node installation from https://github.com/nodejs/docker-node -ENV NODE_VERSION 14.21.2 +ENV NODE_VERSION 20.11.0 RUN addgroup -g 1000 node \ && adduser -u 1000 -G node -s /bin/sh -D node \ diff --git a/Dockerfile.nginx-debian b/Dockerfile.nginx-debian index 7af6520fc31..acec5dd551e 100644 --- a/Dockerfile.nginx-debian +++ b/Dockerfile.nginx-debian @@ -44,8 +44,8 @@ RUN \ apt-get -y update && \ apt-get -y install --no-install-recommends apt-transport-https ca-certificates curl wget gnupg && \ curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add --no-tty - && \ - echo 'deb https://deb.nodesource.com/node_14.x bullseye main' > /etc/apt/sources.list.d/nodesource.list && \ - echo 'deb-src https://deb.nodesource.com/node_14.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list && \ + echo 'deb https://deb.nodesource.com/node_20.x bullseye main' > /etc/apt/sources.list.d/nodesource.list && \ + echo 'deb-src https://deb.nodesource.com/node_20.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list && \ apt-get update -y -o Dir::Etc::sourcelist="sources.list.d/nodesource.list" \ -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \