mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-05 00:39:25 +08:00
update to node v20
This commit is contained in:
parent
c2432a17a9
commit
024abce7e5
@ -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
3505
src/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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…
Reference in New Issue
Block a user