Browse Source

Add dumb-init to avoid zombie processes.

pull/71/head
Juan Calderon-Perez 4 years ago
committed by GitHub
parent
commit
a459284957
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile

4
Dockerfile

@ -1,7 +1,7 @@
FROM node:14-alpine
# Install Linux packages
RUN apk add -U wireguard-tools
RUN apk add -U --no-cache wireguard-tools dumb-init
# Copy Web UI
COPY src/ /app/
@ -16,4 +16,4 @@ EXPOSE 51821/tcp
ENV DEBUG=Server,WireGuard
# Run Web UI
CMD ["node", "server.js"]
CMD ["/usr/bin/dumb-init", "node", "server.js"]

Loading…
Cancel
Save