This commit is contained in:
1 parent
1bd009c117
commit
3c7d50aa3d
1 file changed
+4
-1
+4
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM node:22-slim
|
FROM node:22-bookworm-slim
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -9,6 +9,7 @@ RUN apt-get update -y && \
|
|||||||
graphicsmagick \
|
graphicsmagick \
|
||||||
tzdata \
|
tzdata \
|
||||||
curl \
|
curl \
|
||||||
|
unzip \
|
||||||
jq \
|
jq \
|
||||||
sed \
|
sed \
|
||||||
python3 \
|
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}" && \
|
echo "Latest n8n version: ${N8N_VERSION}" && \
|
||||||
npm_config_user=root npm install -g \
|
npm_config_user=root npm install -g \
|
||||||
${N8N_VERSION} && \
|
${N8N_VERSION} && \
|
||||||
|
apt-get remove build-essential && \
|
||||||
|
apt-get autoremove && \
|
||||||
apt-get clean all
|
apt-get clean all
|
||||||
|
|
||||||
# Set a custom user to not have n8n run as root
|
# Set a custom user to not have n8n run as root
|
||||||
|
|||||||
Reference in new issue
Block a user