Skip to content

Commit

Permalink
Latest n8n runs as user node in Docker the container
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench authored Jul 25, 2023
1 parent c2e5074 commit d17e142
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions n8n/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Use the n8nio/n8n image as base
FROM docker.n8n.io/n8nio/n8n:latest

USER root

# Install the MySQL client
RUN apk add --no-cache bash mysql-client

# Download wait-for-it
RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /wait-for-it.sh && \
chmod +x /wait-for-it.sh

USER node

0 comments on commit d17e142

Please sign in to comment.