mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
fix compile command in docker file
This commit is contained in:
parent
a83df895de
commit
1e29478477
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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"]
|
||||
|
||||
|
@ -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"]
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user