mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-07-09 17:28:28 +00:00
chore!: Bump node to 24
No breaking changes for MS but local installs will need to update node version
This commit is contained in:
parent
e5935c38da
commit
745343c589
5 changed files with 7 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ services:
|
||||||
# context: .
|
# context: .
|
||||||
# dockerfile: .devcontainer/Dockerfile
|
# dockerfile: .devcontainer/Dockerfile
|
||||||
|
|
||||||
image: mcr.microsoft.com/devcontainers/javascript-node:20-bookworm
|
image: mcr.microsoft.com/devcontainers/javascript-node:24-bookworm
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Update this to wherever you want VS Code to mount the folder of your project
|
# Update this to wherever you want VS Code to mount the folder of your project
|
||||||
|
|
|
||||||
2
.nvmrc
2
.nvmrc
|
|
@ -1 +1 @@
|
||||||
v20.18.1
|
v24.14.0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
FROM ghcr.io/linuxserver/baseimage-debian:bookworm AS base
|
FROM ghcr.io/linuxserver/baseimage-debian:bookworm AS base
|
||||||
|
|
||||||
ENV TZ=Etc/GMT
|
ENV TZ=Etc/GMT
|
||||||
ENV NODE_VERSION=20.19.2
|
ENV NODE_VERSION=24.14.0
|
||||||
|
|
||||||
# borrowing openssl header removal trick from offical docker-node
|
# borrowing openssl header removal trick from offical docker-node
|
||||||
# https://github.com/nodejs/docker-node/blob/main/18/bookworm-slim/Dockerfile#L8
|
# https://github.com/nodejs/docker-node/blob/main/18/bookworm-slim/Dockerfile#L8
|
||||||
|
|
@ -49,6 +49,8 @@ RUN \
|
||||||
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
|
RUN echo "Node: $(node -v)\nNPM: $(npm -v)"
|
||||||
|
|
||||||
RUN npm install -g concurrently
|
RUN npm install -g concurrently
|
||||||
|
|
||||||
ARG data_dir=/config
|
ARG data_dir=/config
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.19.2",
|
"node": ">=24.14.0",
|
||||||
"npm": ">=11.12.1"
|
"npm": ">=11.12.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.19.2",
|
"node": ">=24.14.0",
|
||||||
"npm": ">=11.12.1"
|
"npm": ">=11.12.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue