mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-26 13:20:11 +03:00
simplify build
This commit is contained in:
parent
3a2e1002b6
commit
8338594ffc
3 changed files with 35 additions and 792 deletions
|
@ -7,6 +7,8 @@ RUN apk add -U --no-cache wireguard-tools dumb-init
|
||||||
COPY src/ /app/
|
COPY src/ /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN npm ci --production
|
RUN npm ci --production
|
||||||
|
RUN npm i -g nodemon
|
||||||
|
RUN mv /app/node_modules/ /node_modules/
|
||||||
|
|
||||||
# Expose Ports
|
# Expose Ports
|
||||||
EXPOSE 51820/udp
|
EXPOSE 51820/udp
|
||||||
|
|
822
src/package-lock.json
generated
822
src/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,6 @@
|
||||||
"debug": "^4.3.1",
|
"debug": "^4.3.1",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"express-session": "^1.17.1",
|
"express-session": "^1.17.1",
|
||||||
"nodemon": "^2.0.12",
|
|
||||||
"qrcode": "^1.4.4",
|
"qrcode": "^1.4.4",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
|
@ -31,4 +30,4 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "14"
|
"node": "14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue