From b8bbc79de4b8ec0215c70d9d2aba41f858b3210d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 19 Aug 2023 13:40:20 +0100 Subject: [PATCH] Upgrade to Node 20 --- .gitlab-ci.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec8d6a8..34c356f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - deploy static: - image: node:19-slim + image: node:20-slim stage: build cache: key: npm-$CI_COMMIT_REF_SLUG @@ -116,7 +116,7 @@ gunicorn_check: - gunicorn --check-config --config etc/gunicorn.conf.py npm_lint: - image: node:19-slim + image: node:20-slim stage: test dependencies: - static diff --git a/Dockerfile b/Dockerfile index 53df365..9f2fd55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19-slim as frontend +FROM node:20-slim as frontend RUN apt-get update --yes --quiet && apt-get install --yes --quiet curl @@ -60,7 +60,7 @@ FROM production as dev # Swap user, so the following tasks can be run as root USER root -RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - && apt-get install -y nodejs +RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs RUN apt-get install -y postgresql-client inotify-tools RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin