Skip to content

Commit

Permalink
feat: Updated docker/images/n8n-custom/Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 4, 2024
1 parent a8b74fa commit 0aa6822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/images/n8n-custom/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 1. Create an image to build n8n
FROM node:14.15-alpine as builder
FROM node:14.17.0

# Update everything and install needed dependencies
USER root

# Install all needed dependencies
RUN apk --update add --virtual build-dependencies python build-base ca-certificates && \
npm_config_user=root npm install -g lerna
npm_config_user=root npm install -g lerna@4.1.0@4.1.0

WORKDIR /data

Expand All @@ -19,7 +19,7 @@ COPY packages/nodes-base/ ./packages/nodes-base/
COPY packages/workflow/ ./packages/workflow/
RUN rm -rf node_modules packages/*/node_modules packages/*/dist

RUN npm install --production --loglevel notice
RUN npm install
RUN lerna bootstrap --hoist -- --production
RUN npm run build

Expand Down

0 comments on commit 0aa6822

Please sign in to comment.