simplify build

This commit is contained in:
Emile Nijssen 2021-11-11 21:02:07 +01:00
parent 3a2e1002b6
commit 8338594ffc
3 changed files with 35 additions and 792 deletions

View File

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

File diff suppressed because it is too large Load Diff

View File

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