We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c701bb5 commit dbcde51Copy full SHA for dbcde51
Dockerfile
@@ -1,6 +1,7 @@
1
FROM node:12-alpine
2
3
-RUN apk --no-cache add wireguard-tools iptables ip6tables inotify-tools
+RUN apk --no-cache add wireguard-tools iptables ip6tables inotify-tools tini
4
+RUN deluser --remove-home node
5
6
WORKDIR /usr/src/app
7
server.sh
@@ -1,3 +1,3 @@
node dist/createConfig.js
wg-quick up wg0
-node dist/index.js
+exec /sbin/tini -- node dist/index.js
0 commit comments