Dockerfile: separate Symlink task

This commit is contained in:
Philip H 2023-12-21 19:15:02 +01:00 committed by GitHub
parent e42a9c4062
commit 10089cf622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -37,8 +37,10 @@ RUN npm i -g nodemon
RUN apk add -U --no-cache \
iptables-legacy \
wireguard-tools \
dumb-init &&\
rm /sbin/iptables &&\
dumb-init
# Symlink iptables
RUN rm /sbin/iptables \
ln -s /sbin/iptables-legacy /sbin/iptables
# Expose Ports