Browse Source

simplify build

pull/114/head
Emile Nijssen 3 years ago
parent
commit
8338594ffc
  1. 2
      Dockerfile
  2. 822
      src/package-lock.json
  3. 3
      src/package.json

2
Dockerfile

@ -7,6 +7,8 @@ RUN apk add -U --no-cache wireguard-tools dumb-init
COPY src/ /app/
WORKDIR /app
RUN npm ci --production
RUN npm i -g nodemon
RUN mv /app/node_modules/ /node_modules/
# Expose Ports
EXPOSE 51820/udp

822
src/package-lock.json

File diff suppressed because it is too large

3
src/package.json

@ -15,7 +15,6 @@
"debug": "^4.3.1",
"express": "^4.17.1",
"express-session": "^1.17.1",
"nodemon": "^2.0.12",
"qrcode": "^1.4.4",
"uuid": "^8.3.2"
},
@ -31,4 +30,4 @@
"engines": {
"node": "14"
}
}
}

Loading…
Cancel
Save