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