diff --git a/Dockerfile b/Dockerfile index 99f1acf6..b5341eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,6 @@ # nodejs 20 hangs on build with armv6/armv7 FROM docker.io/library/node:18-alpine AS build_node_modules -# Update npm to latest -RUN npm install -g npm@latest - # Copy Web UI COPY src /app WORKDIR /app @@ -39,7 +36,7 @@ RUN apk add --no-cache \ wireguard-tools # Use iptables-legacy -RUN update-alternatives --install /sbin/iptables iptables /sbin/iptables-legacy 10 --slave /sbin/iptables-restore iptables-restore /sbin/iptables-legacy-restore --slave /sbin/iptables-save iptables-save /sbin/iptables-legacy-save +RUN update-alternatives --install /usr/sbin/iptables iptables /usr/sbin/iptables-legacy 10 --slave /usr/sbin/iptables-restore iptables-restore /usr/sbin/iptables-legacy-restore --slave /usr/sbin/iptables-save iptables-save /usr/sbin/iptables-legacy-save # Set Environment ENV DEBUG=Server,WireGuard