From 44db5b57e50ae6ebe0fa4ac2d2e9070d34aee0b4 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 9 Apr 2024 13:21:12 +0100 Subject: [PATCH] Update Dockerfile.tpl files to include package.json in CommonUI directory --- Accounts/Dockerfile.tpl | 1 + AdminDashboard/Dockerfile.tpl | 1 + StatusPage/Dockerfile.tpl | 1 + 3 files changed, 3 insertions(+) diff --git a/Accounts/Dockerfile.tpl b/Accounts/Dockerfile.tpl index abcdfa421b..e122b205f2 100644 --- a/Accounts/Dockerfile.tpl +++ b/Accounts/Dockerfile.tpl @@ -58,6 +58,7 @@ COPY ./CommonServer /usr/src/CommonServer # Install CommonUI WORKDIR /usr/src/CommonUI +COPY ./CommonUI/package*.json /usr/src/CommonUI/ # Set version in ./CommonUI/package.json to the APP_VERSION RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/CommonUI/package.json RUN npm install --force diff --git a/AdminDashboard/Dockerfile.tpl b/AdminDashboard/Dockerfile.tpl index f6be58e1fc..f3f28138c4 100644 --- a/AdminDashboard/Dockerfile.tpl +++ b/AdminDashboard/Dockerfile.tpl @@ -57,6 +57,7 @@ COPY ./CommonServer /usr/src/CommonServer # Install CommonUI WORKDIR /usr/src/CommonUI +COPY ./CommonUI/package*.json /usr/src/CommonUI/ # Set version in ./CommonUI/package.json to the APP_VERSION RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/CommonUI/package.json RUN npm install --force diff --git a/StatusPage/Dockerfile.tpl b/StatusPage/Dockerfile.tpl index 7139669fdc..2b814841e7 100644 --- a/StatusPage/Dockerfile.tpl +++ b/StatusPage/Dockerfile.tpl @@ -56,6 +56,7 @@ COPY ./CommonServer /usr/src/CommonServer # Install CommonUI WORKDIR /usr/src/CommonUI +COPY ./CommonUI/package*.json /usr/src/CommonUI/ # Set version in ./CommonUI/package.json to the APP_VERSION RUN sed -i "s/\"version\": \".*\"/\"version\": \"$APP_VERSION\"/g" /usr/src/CommonUI/package.json RUN npm install --force