From 2964cf96301ccb75fab9c8e0ea2aad1f8e4ae640 Mon Sep 17 00:00:00 2001 From: Lennart Fleischmann Date: Mon, 13 Mar 2023 10:52:04 +0100 Subject: [PATCH] fix(example): do not copy lockfiles not under vc in dockerfiles --- frontend/examples/angular/Dockerfile | 1 - frontend/examples/express/Dockerfile | 1 - frontend/examples/nextjs/Dockerfile | 1 - frontend/examples/react/Dockerfile | 1 - frontend/examples/svelte/Dockerfile | 1 - frontend/examples/vue/Dockerfile | 1 - 6 files changed, 6 deletions(-) diff --git a/frontend/examples/angular/Dockerfile b/frontend/examples/angular/Dockerfile index 2d16f9706..25bb22524 100644 --- a/frontend/examples/angular/Dockerfile +++ b/frontend/examples/angular/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install # add app diff --git a/frontend/examples/express/Dockerfile b/frontend/examples/express/Dockerfile index 542116a8e..c3fe8ffe0 100644 --- a/frontend/examples/express/Dockerfile +++ b/frontend/examples/express/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install --silent RUN npm install react-scripts@3.4.1 -g --silent diff --git a/frontend/examples/nextjs/Dockerfile b/frontend/examples/nextjs/Dockerfile index 012d32dc1..202080251 100644 --- a/frontend/examples/nextjs/Dockerfile +++ b/frontend/examples/nextjs/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install # add app diff --git a/frontend/examples/react/Dockerfile b/frontend/examples/react/Dockerfile index 579db0ad9..7ada5c09f 100644 --- a/frontend/examples/react/Dockerfile +++ b/frontend/examples/react/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install RUN npm install react-scripts@3.4.1 -g --silent diff --git a/frontend/examples/svelte/Dockerfile b/frontend/examples/svelte/Dockerfile index 012d32dc1..202080251 100644 --- a/frontend/examples/svelte/Dockerfile +++ b/frontend/examples/svelte/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install # add app diff --git a/frontend/examples/vue/Dockerfile b/frontend/examples/vue/Dockerfile index 012d32dc1..202080251 100644 --- a/frontend/examples/vue/Dockerfile +++ b/frontend/examples/vue/Dockerfile @@ -9,7 +9,6 @@ ENV PATH /app/node_modules/.bin:$PATH # install app dependencies COPY package.json ./ -COPY package-lock.json ./ RUN npm install # add app