diff --git a/Dockerfile b/Dockerfile index b6055d3..a7d825f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-slim +FROM node:22-bookworm-slim @@ -9,6 +9,7 @@ RUN apt-get update -y && \ graphicsmagick \ tzdata \ curl \ + unzip \ jq \ sed \ python3 \ @@ -21,6 +22,8 @@ RUN N8N_VERSION=$(curl -s https://api.github.com/repos/n8n-io/n8n/releases/lates echo "Latest n8n version: ${N8N_VERSION}" && \ npm_config_user=root npm install -g \ ${N8N_VERSION} && \ + apt-get remove build-essential && \ + apt-get autoremove && \ apt-get clean all # Set a custom user to not have n8n run as root