mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-11 13:15:28 +03:00
8 lines
315 B
Docker
8 lines
315 B
Docker
FROM n8nio/base:20
|
|
|
|
RUN apk add --no-cache --update openssh sudo shadow bash
|
|
RUN echo node ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/node && chmod 0440 /etc/sudoers.d/node
|
|
RUN mkdir /workspaces && chown node:node /workspaces
|
|
USER node
|
|
RUN mkdir -p ~/.pnpm-store && pnpm config set store-dir ~/.pnpm-store --global
|