Upgrade to Node 20

This commit is contained in:
Jake Howard 2023-08-19 13:40:20 +01:00
parent 67e5e35a06
commit b8bbc79de4
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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