Upgrade to Node 20
This commit is contained in:
parent
67e5e35a06
commit
b8bbc79de4
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
static:
|
static:
|
||||||
image: node:19-slim
|
image: node:20-slim
|
||||||
stage: build
|
stage: build
|
||||||
cache:
|
cache:
|
||||||
key: npm-$CI_COMMIT_REF_SLUG
|
key: npm-$CI_COMMIT_REF_SLUG
|
||||||
|
@ -116,7 +116,7 @@ gunicorn_check:
|
||||||
- gunicorn --check-config --config etc/gunicorn.conf.py
|
- gunicorn --check-config --config etc/gunicorn.conf.py
|
||||||
|
|
||||||
npm_lint:
|
npm_lint:
|
||||||
image: node:19-slim
|
image: node:20-slim
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- static
|
- static
|
||||||
|
|
|
@ -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
|
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
|
# Swap user, so the following tasks can be run as root
|
||||||
USER 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 apt-get install -y postgresql-client inotify-tools
|
||||||
RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
RUN curl -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue