mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-23 01:29:24 +08:00
Merge pull request #71 from gaby/docker-updates
Add dumb-init to avoid zombie processes.
This commit is contained in:
commit
3fbeab012b
@ -1,7 +1,7 @@
|
|||||||
FROM node:14-alpine
|
FROM node:14-alpine
|
||||||
|
|
||||||
# Install Linux packages
|
# Install Linux packages
|
||||||
RUN apk add -U wireguard-tools
|
RUN apk add -U --no-cache wireguard-tools dumb-init
|
||||||
|
|
||||||
# Copy Web UI
|
# Copy Web UI
|
||||||
COPY src/ /app/
|
COPY src/ /app/
|
||||||
@ -16,4 +16,4 @@ EXPOSE 51821/tcp
|
|||||||
ENV DEBUG=Server,WireGuard
|
ENV DEBUG=Server,WireGuard
|
||||||
|
|
||||||
# Run Web UI
|
# Run Web UI
|
||||||
CMD ["node", "server.js"]
|
CMD ["/usr/bin/dumb-init", "node", "server.js"]
|
||||||
|
Loading…
Reference in New Issue
Block a user