remove gosu
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6m25s

This commit is contained in:
2026-01-25 13:54:54 +07:00
parent 4416aa279e
commit d8e59bbe36
2 changed files with 2 additions and 4 deletions

View File

@@ -16,9 +16,7 @@ RUN apk add --no-cache \
nodejs \
npm \
&& npm install -g n8n@${N8N_VERSION} \
&& rm -rf /var/cache/apk/* \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64" \
&& chmod +x /usr/local/bin/gosu
&& rm -rf /var/cache/apk/*
# Создание пользователя и домашней директории
RUN adduser -D -s /bin/sh node && mkdir -p /home/node/.n8n

View File

@@ -22,4 +22,4 @@ iptables -t nat -A OUTPUT -p tcp -d 172.16.0.0/12 -j RETURN 2>/dev/null || true
iptables -t nat -A OUTPUT -p tcp -j REDIRECT --to-ports 12345 2>/dev/null || true
# Start n8n
exec gosu node "n8n start"
exec "n8n start"