mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-05 08:49:24 +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.
|
# than what runs inside of docker.
|
||||||
RUN mv /app/node_modules /node_modules
|
RUN mv /app/node_modules /node_modules
|
||||||
|
|
||||||
# Enable this to run `npm run serve`
|
|
||||||
RUN npm i -g nodemon
|
|
||||||
|
|
||||||
# Install Linux packages
|
# Install Linux packages
|
||||||
RUN apk add -U --no-cache \
|
RUN apk add -U --no-cache \
|
||||||
|
iptables \
|
||||||
wireguard-tools \
|
wireguard-tools \
|
||||||
dumb-init
|
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": "",
|
"description": "",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "DEBUG=Server,WireGuard nodemon server.js",
|
"serve": "DEBUG=Server,WireGuard node --watch server.js",
|
||||||
"serve-with-password": "PASSWORD=wg npm run serve",
|
"serve-with-password": "PASSWORD=wg npm run serve",
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
@ -22,12 +22,7 @@
|
|||||||
"eslint": "^7.27.0",
|
"eslint": "^7.27.0",
|
||||||
"eslint-config-athom": "^2.1.0"
|
"eslint-config-athom": "^2.1.0"
|
||||||
},
|
},
|
||||||
"nodemonConfig": {
|
|
||||||
"ignore": [
|
|
||||||
"www/*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "14"
|
"node": "20"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user