From 1e294784775379e5cdf8599f3f844a5f2f67af54 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 22 Apr 2022 21:17:50 +0100 Subject: [PATCH] fix compile command in docker file --- Accounts/Dockerfile | 6 +++--- Accounts/Dockerfile.dev | 6 +++--- AdminDashboard/Dockerfile | 6 +++--- AdminDashboard/Dockerfile.dev | 6 +++--- ApiDocs/Dockerfile | 4 ++-- ApiDocs/Dockerfile.dev | 4 ++-- ApplicationScanner/Dockerfile | 6 +++--- ApplicationScanner/Dockerfile.dev | 6 +++--- ContainerScanner/Dockerfile | 6 +++--- ContainerScanner/Dockerfile.dev | 6 +++--- Dashboard/Dockerfile | 6 +++--- Dashboard/Dockerfile.dev | 6 +++--- DashboardAPI/Dockerfile | 6 +++--- DashboardAPI/Dockerfile.dev | 6 +++--- DataIngestor/Dockerfile | 6 +++--- DataIngestor/Dockerfile.dev | 6 +++--- HelmChart/Dockerfile | 4 ++-- HelmChart/Dockerfile.dev | 4 ++-- Home/Dockerfile | 4 ++-- Home/Dockerfile.dev | 4 ++-- HttpTestServer/Dockerfile | 6 +++--- HttpTestServer/Dockerfile.dev | 4 ++-- InitScript/Dockerfile | 4 ++-- InitScript/Dockerfile.dev | 4 ++-- Licensing/Dockerfile | 6 +++--- Licensing/Dockerfile.dev | 2 +- LighthouseRunner/Dockerfile | 6 +++--- LighthouseRunner/Dockerfile.dev | 6 +++--- Mail/Dockerfile | 6 +++--- Mail/Dockerfile.dev | 6 +++--- Probe/Dockerfile | 6 +++--- Probe/Dockerfile.dev | 6 +++--- ProbeAPI/Dockerfile | 6 +++--- ProbeAPI/Dockerfile.dev | 6 +++--- Realtime/Dockerfile | 6 +++--- Realtime/Dockerfile.dev | 6 +++--- ScriptRunner/Dockerfile | 6 +++--- ScriptRunner/Dockerfile.dev | 4 ++-- StatusPage/Dockerfile | 4 ++-- StatusPage/Dockerfile.dev | 4 ++-- 40 files changed, 106 insertions(+), 106 deletions(-) diff --git a/Accounts/Dockerfile b/Accounts/Dockerfile index 00e7f235b9..6f7755b0e6 100755 --- a/Accounts/Dockerfile +++ b/Accounts/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI @@ -36,7 +36,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/Accounts/Dockerfile.dev b/Accounts/Dockerfile.dev index 6a1a218474..efb4db82f8 100644 --- a/Accounts/Dockerfile.dev +++ b/Accounts/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI @@ -36,7 +36,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/AdminDashboard/Dockerfile b/AdminDashboard/Dockerfile index 096b1e885d..b6bf88f6ed 100644 --- a/AdminDashboard/Dockerfile +++ b/AdminDashboard/Dockerfile @@ -32,7 +32,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -40,7 +40,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI RUN mkdir /usr/src/CommonUI @@ -48,7 +48,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app diff --git a/AdminDashboard/Dockerfile.dev b/AdminDashboard/Dockerfile.dev index 3ebcc39008..7939929006 100644 --- a/AdminDashboard/Dockerfile.dev +++ b/AdminDashboard/Dockerfile.dev @@ -25,7 +25,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -33,7 +33,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI RUN mkdir /usr/src/CommonUI @@ -41,7 +41,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile diff --git a/ApiDocs/Dockerfile b/ApiDocs/Dockerfile index 78e2a20581..580cc5b6f7 100755 --- a/ApiDocs/Dockerfile +++ b/ApiDocs/Dockerfile @@ -15,7 +15,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -23,7 +23,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true diff --git a/ApiDocs/Dockerfile.dev b/ApiDocs/Dockerfile.dev index cbab42dc75..a697acc15f 100644 --- a/ApiDocs/Dockerfile.dev +++ b/ApiDocs/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/ApplicationScanner/Dockerfile b/ApplicationScanner/Dockerfile index 26e22e279e..e42316ab14 100755 --- a/ApplicationScanner/Dockerfile +++ b/ApplicationScanner/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -50,5 +50,5 @@ COPY ./ApplicationScanner /usr/src/app EXPOSE 3005 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/ApplicationScanner/Dockerfile.dev b/ApplicationScanner/Dockerfile.dev index b619af1bcf..f530ffc7cc 100644 --- a/ApplicationScanner/Dockerfile.dev +++ b/ApplicationScanner/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -46,6 +46,6 @@ RUN npm install EXPOSE 3005 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/ContainerScanner/Dockerfile b/ContainerScanner/Dockerfile index 7e36589e39..41f7d4f626 100755 --- a/ContainerScanner/Dockerfile +++ b/ContainerScanner/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -49,5 +49,5 @@ COPY ./ContainerScanner /usr/src/app EXPOSE 3055 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/ContainerScanner/Dockerfile.dev b/ContainerScanner/Dockerfile.dev index 30af1299e9..9db8488fa6 100644 --- a/ContainerScanner/Dockerfile.dev +++ b/ContainerScanner/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -45,6 +45,6 @@ RUN npm install EXPOSE 3055 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/Dashboard/Dockerfile b/Dashboard/Dockerfile index 4fe6890c4e..dc618177ba 100755 --- a/Dashboard/Dockerfile +++ b/Dashboard/Dockerfile @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI RUN mkdir /usr/src/CommonUI @@ -39,7 +39,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile ENV NODE_OPTIONS="--max-old-space-size=8192" diff --git a/Dashboard/Dockerfile.dev b/Dashboard/Dockerfile.dev index 4cda8eec0e..48c81ffdb9 100644 --- a/Dashboard/Dockerfile.dev +++ b/Dashboard/Dockerfile.dev @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Install CommonUI RUN mkdir /usr/src/CommonUI @@ -39,7 +39,7 @@ WORKDIR /usr/src/CommonUI COPY ./CommonUI/package*.json /usr/src/CommonUI/ RUN npm install COPY ./CommonUI /usr/src/CommonUI -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/DashboardAPI/Dockerfile b/DashboardAPI/Dockerfile index 7ffe7a6f25..1cf73c64c4 100755 --- a/DashboardAPI/Dockerfile +++ b/DashboardAPI/Dockerfile @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -56,5 +56,5 @@ COPY ./DashboardAPI /usr/src/app EXPOSE 3002 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/DashboardAPI/Dockerfile.dev b/DashboardAPI/Dockerfile.dev index 39b5a3c999..ab539163ed 100644 --- a/DashboardAPI/Dockerfile.dev +++ b/DashboardAPI/Dockerfile.dev @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables @@ -58,5 +58,5 @@ EXPOSE 3002 EXPOSE 9229 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/DataIngestor/Dockerfile b/DataIngestor/Dockerfile index ee60c96daf..a1e6426694 100755 --- a/DataIngestor/Dockerfile +++ b/DataIngestor/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -64,5 +64,5 @@ COPY ./data-ingestor /usr/src/app EXPOSE 3200 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/DataIngestor/Dockerfile.dev b/DataIngestor/Dockerfile.dev index 6040ad3e93..e8c0b95a7a 100644 --- a/DataIngestor/Dockerfile.dev +++ b/DataIngestor/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -61,6 +61,6 @@ EXPOSE 3200 EXPOSE 9229 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/HelmChart/Dockerfile b/HelmChart/Dockerfile index 710bf14ca1..1a081870b8 100755 --- a/HelmChart/Dockerfile +++ b/HelmChart/Dockerfile @@ -15,7 +15,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -23,7 +23,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile RUN mkdir /usr/src/app diff --git a/HelmChart/Dockerfile.dev b/HelmChart/Dockerfile.dev index 6433945b2f..8ff7fa6ab3 100644 --- a/HelmChart/Dockerfile.dev +++ b/HelmChart/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/Home/Dockerfile b/Home/Dockerfile index a37a23431c..3f7625556f 100755 --- a/Home/Dockerfile +++ b/Home/Dockerfile @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile RUN mkdir /usr/src/app diff --git a/Home/Dockerfile.dev b/Home/Dockerfile.dev index 485a19b1df..8750436b72 100644 --- a/Home/Dockerfile.dev +++ b/Home/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/HttpTestServer/Dockerfile b/HttpTestServer/Dockerfile index d8eb28f206..16c3625604 100755 --- a/HttpTestServer/Dockerfile +++ b/HttpTestServer/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -28,7 +28,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -52,5 +52,5 @@ COPY ./HttpTestServer /usr/src/app EXPOSE 3010 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/HttpTestServer/Dockerfile.dev b/HttpTestServer/Dockerfile.dev index ab5a8d9a4c..8a1a3a5759 100644 --- a/HttpTestServer/Dockerfile.dev +++ b/HttpTestServer/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/InitScript/Dockerfile b/InitScript/Dockerfile index ba6bad7faa..80ede27ab7 100755 --- a/InitScript/Dockerfile +++ b/InitScript/Dockerfile @@ -22,7 +22,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -30,7 +30,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile # Set env variables ENV PRODUCTION=true diff --git a/InitScript/Dockerfile.dev b/InitScript/Dockerfile.dev index 5b56987deb..be0dadd944 100644 --- a/InitScript/Dockerfile.dev +++ b/InitScript/Dockerfile.dev @@ -23,7 +23,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -31,7 +31,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/Licensing/Dockerfile b/Licensing/Dockerfile index daf52dc1f7..ab6f2a2491 100644 --- a/Licensing/Dockerfile +++ b/Licensing/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -50,5 +50,5 @@ COPY ./licensing /usr/src/app EXPOSE 3004 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/Licensing/Dockerfile.dev b/Licensing/Dockerfile.dev index aac033f896..6556763ab7 100644 --- a/Licensing/Dockerfile.dev +++ b/Licensing/Dockerfile.dev @@ -18,7 +18,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables diff --git a/LighthouseRunner/Dockerfile b/LighthouseRunner/Dockerfile index e03c7feb72..6186ce5ac8 100755 --- a/LighthouseRunner/Dockerfile +++ b/LighthouseRunner/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -53,5 +53,5 @@ COPY ./LighthouseRunner /usr/src/app EXPOSE 3015 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/LighthouseRunner/Dockerfile.dev b/LighthouseRunner/Dockerfile.dev index 41435f3888..aaefadea6d 100644 --- a/LighthouseRunner/Dockerfile.dev +++ b/LighthouseRunner/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV CHROME_PATH=/usr/bin/google-chrome @@ -52,6 +52,6 @@ RUN npm install EXPOSE 3015 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/Mail/Dockerfile b/Mail/Dockerfile index 137036045f..1daa7a00c9 100755 --- a/Mail/Dockerfile +++ b/Mail/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -53,5 +53,5 @@ COPY ./MailService /usr/src/app EXPOSE 3190 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/Mail/Dockerfile.dev b/Mail/Dockerfile.dev index 71f457a9a4..f0bd75d5fd 100644 --- a/Mail/Dockerfile.dev +++ b/Mail/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -46,6 +46,6 @@ RUN npm install EXPOSE 3190 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/Probe/Dockerfile b/Probe/Dockerfile index 2f3656bdaf..c1020bf83e 100755 --- a/Probe/Dockerfile +++ b/Probe/Dockerfile @@ -22,7 +22,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -30,7 +30,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile @@ -65,5 +65,5 @@ COPY /probe /usr/src/app EXPOSE 3008 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/Probe/Dockerfile.dev b/Probe/Dockerfile.dev index f8e0f36ef0..54734631fc 100644 --- a/Probe/Dockerfile.dev +++ b/Probe/Dockerfile.dev @@ -20,7 +20,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -28,7 +28,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -64,6 +64,6 @@ EXPOSE 3008 EXPOSE 9229 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/ProbeAPI/Dockerfile b/ProbeAPI/Dockerfile index fc076b151c..8361758ee9 100755 --- a/ProbeAPI/Dockerfile +++ b/ProbeAPI/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -48,5 +48,5 @@ COPY ./ProbeAPI /usr/src/app EXPOSE 3400 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/ProbeAPI/Dockerfile.dev b/ProbeAPI/Dockerfile.dev index 1dc8c23cd4..0a49ac6da0 100644 --- a/ProbeAPI/Dockerfile.dev +++ b/ProbeAPI/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -48,6 +48,6 @@ EXPOSE 3400 EXPOSE 9229 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/Realtime/Dockerfile b/Realtime/Dockerfile index cdafea42d4..4d465d325e 100755 --- a/Realtime/Dockerfile +++ b/Realtime/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -57,5 +57,5 @@ COPY ./realtime /usr/src/app EXPOSE 3300 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] diff --git a/Realtime/Dockerfile.dev b/Realtime/Dockerfile.dev index fb632201aa..9a07315774 100644 --- a/Realtime/Dockerfile.dev +++ b/Realtime/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile WORKDIR /usr/src/app @@ -56,6 +56,6 @@ EXPOSE 3300 EXPOSE 9229 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "run", "dev"] diff --git a/ScriptRunner/Dockerfile b/ScriptRunner/Dockerfile index 0fa1567e81..900e07341a 100644 --- a/ScriptRunner/Dockerfile +++ b/ScriptRunner/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PRODUCTION=true @@ -49,5 +49,5 @@ COPY ./ScriptRunner /usr/src/app EXPOSE 3009 #Run the app -RUN npm compile +RUN npm run compile CMD [ "npm", "start"] \ No newline at end of file diff --git a/ScriptRunner/Dockerfile.dev b/ScriptRunner/Dockerfile.dev index 0444a38ec2..45cd49e14f 100644 --- a/ScriptRunner/Dockerfile.dev +++ b/ScriptRunner/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true diff --git a/StatusPage/Dockerfile b/StatusPage/Dockerfile index 2ee1e0a454..001c93448e 100755 --- a/StatusPage/Dockerfile +++ b/StatusPage/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables. ENV PRODUCTION=true diff --git a/StatusPage/Dockerfile.dev b/StatusPage/Dockerfile.dev index 1d378bcb0d..855d187f0d 100644 --- a/StatusPage/Dockerfile.dev +++ b/StatusPage/Dockerfile.dev @@ -19,7 +19,7 @@ WORKDIR /usr/src/Common COPY ./Common/package*.json /usr/src/Common/ RUN npm install COPY ./Common /usr/src/Common -RUN npm compile +RUN npm run compile # Install CommonServer RUN mkdir /usr/src/CommonServer @@ -27,7 +27,7 @@ WORKDIR /usr/src/CommonServer COPY ./CommonServer/package*.json /usr/src/CommonServer/ RUN npm install COPY ./CommonServer /usr/src/CommonServer -RUN npm compile +RUN npm run compile #SET ENV Variables