update to node v20

This commit is contained in:
Emile Nijssen 2023-12-17 22:42:40 +01:00
parent c2432a17a9
commit 024abce7e5
3 changed files with 3506 additions and 12 deletions

View File

@ -19,11 +19,9 @@ COPY --from=build_node_modules /app /app
# than what runs inside of docker.
RUN mv /app/node_modules /node_modules
# Enable this to run `npm run serve`
RUN npm i -g nodemon
# Install Linux packages
RUN apk add -U --no-cache \
iptables \
wireguard-tools \
dumb-init

3505
src/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
"description": "",
"main": "server.js",
"scripts": {
"serve": "DEBUG=Server,WireGuard nodemon server.js",
"serve": "DEBUG=Server,WireGuard node --watch server.js",
"serve-with-password": "PASSWORD=wg npm run serve",
"lint": "eslint ."
},
@ -22,12 +22,7 @@
"eslint": "^7.27.0",
"eslint-config-athom": "^2.1.0"
},
"nodemonConfig": {
"ignore": [
"www/*"
]
},
"engines": {
"node": "14"
"node": "20"
}
}