fix compile command in docker file

This commit is contained in:
Nawaz Dhandala 2022-04-22 21:17:50 +01:00
parent a83df895de
commit 1e29478477
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
40 changed files with 106 additions and 106 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"

View File

@ -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

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"]

View File

@ -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

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -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