Update Dockerfile

This commit is contained in:
Peter Lewis 2023-12-21 22:15:24 +00:00 committed by GitHub
parent d492b334d8
commit f6fa7a3b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

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