Update Dockerfile

This commit is contained in:
Peter Lewis
2023-12-21 22:15:24 +00:00
committed by GitHub
parent d492b334d8
commit f6fa7a3b6e

View File

@@ -21,9 +21,14 @@ RUN mv /app/node_modules /node_modules
# Install Linux packages # Install Linux packages
RUN apk add -U --no-cache \ RUN apk add -U --no-cache \
dpkg \
dumb-init \
iptables \ iptables \
wireguard-tools \ iptables-legacy \
dumb-init wireguard-tools
# Symlink iptables
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
# Expose Ports # Expose Ports
EXPOSE 51820/udp EXPOSE 51820/udp