From 3fd62a231765670e715c22c5939d20c232cd666b Mon Sep 17 00:00:00 2001 From: saurabh kashyap Date: Sat, 30 Jul 2022 21:22:50 +0530 Subject: [PATCH] Update the docker custom build Update syntax command for docker COPY package.json and package*.json and n8n packages in the root working directory folder --- docker/images/n8n-custom/Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/images/n8n-custom/Dockerfile b/docker/images/n8n-custom/Dockerfile index 00c7026f909a0..fd1688ac9bd7d 100644 --- a/docker/images/n8n-custom/Dockerfile +++ b/docker/images/n8n-custom/Dockerfile @@ -11,14 +11,14 @@ RUN apk --update add --virtual build-dependencies python3 build-base ca-certific WORKDIR /data COPY lerna.json . -COPY package.json . -COPY package-lock.json . -COPY packages/cli/ ./packages/cli/ -COPY packages/core/ ./packages/core/ -COPY packages/design-system/ ./packages/design-system/ -COPY packages/editor-ui/ ./packages/editor-ui/ -COPY packages/nodes-base/ ./packages/nodes-base/ -COPY packages/workflow/ ./packages/workflow/ +COPY package.json package*.json . +COPY packages/* ./packages +#COPY packages/cli/ ./packages/cli/ +#COPY packages/core/ ./packages/core/ +#COPY packages/design-system/ ./packages/design-system/ +#COPY packages/editor-ui/ ./packages/editor-ui/ +#COPY packages/nodes-base/ ./packages/nodes-base/ +#COPY packages/workflow/ ./packages/workflow/ RUN rm -rf node_modules packages/*/node_modules packages/*/dist RUN npm config set legacy-peer-deps true