Browse Source

update to node v20

pull/680/head
Emile Nijssen 1 year ago
parent
commit
024abce7e5
  1. 4
      Dockerfile
  2. 3505
      src/package-lock.json
  3. 9
      src/package.json

4
Dockerfile

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

File diff suppressed because it is too large

9
src/package.json

@ -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"
}
}
Loading…
Cancel
Save