change su to gosu
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6m52s

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

View File

@@ -16,7 +16,9 @@ RUN apk add --no-cache \
nodejs \
npm \
&& npm install -g n8n@${N8N_VERSION} \
&& rm -rf /var/cache/apk/*
&& 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
# Создание пользователя и домашней директории
RUN adduser -D -s /bin/sh node && mkdir -p /home/node/.n8n