From 10089cf6226e7ec9222de805160d16726df8fad1 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Thu, 21 Dec 2023 19:15:02 +0100 Subject: [PATCH] Dockerfile: separate Symlink task --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60657e6..44be9df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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