fix docker file

This commit is contained in:
Simon Larsen 2022-12-16 13:35:59 +05:30
parent 782d6f1946
commit ce0e571bbe
No known key found for this signature in database
GPG key ID: AB45983AA9C81CDE
45 changed files with 1009 additions and 726 deletions

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

2
.gitignore vendored
View file

@ -4,8 +4,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
# Build Dist
*/build/dist/*

View file

@ -4,8 +4,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.vscode/
.idea
# testing

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

2
Accounts/.gitignore vendored
View file

@ -3,8 +3,6 @@
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing
/coverage

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -12,12 +12,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -25,15 +31,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

2
CommonUI/.gitignore vendored
View file

@ -3,8 +3,6 @@
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
/.pnp
.pnp.js

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -9,8 +9,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -12,12 +12,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -25,15 +31,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,7 +39,13 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
@ -41,10 +53,15 @@ RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile
RUN mkdir /usr/src/app
WORKDIR /usr/src/app

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -17,12 +17,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -30,15 +36,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -3,8 +3,6 @@
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# misc

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

2
Mail/.gitignore vendored
View file

@ -3,8 +3,6 @@
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
/.pnp
.pnp.js

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

1172
Model/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -19,12 +19,18 @@ ENV PRODUCTION=true
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -32,15 +38,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -16,12 +16,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -29,15 +35,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

2
Realtime/.gitignore vendored
View file

@ -3,8 +3,6 @@
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# misc

View file

@ -19,12 +19,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -32,15 +38,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -17,12 +17,18 @@ RUN npm install http-server -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -30,15 +36,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile
# Install CommonUI

View file

@ -6,8 +6,6 @@ node_modules
# dependencies
/node_modules
node_modules
*/node_modules/*
**/node_modules/*
.idea
# testing

View file

@ -20,12 +20,18 @@ RUN npm install nodemon -g
RUN mkdir /usr/src
# Install common
# Install Common
RUN mkdir /usr/src/Common
WORKDIR /usr/src/Common
COPY ./Common/package*.json /usr/src/Common/
RUN npm install
COPY ./Common /usr/src/Common
RUN mkdir /usr/src/Common/temp
COPY ./Common /usr/src/Common/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Common/temp/node_modules
RUN cp -a /usr/src/Common/temp/. /usr/src/Common/
RUN cd /usr/src/Common/
RUN rm -rf /usr/src/Common/temp/
RUN npm run compile
# Install Model
@ -33,15 +39,28 @@ RUN mkdir /usr/src/Model
WORKDIR /usr/src/Model
COPY ./Model/package*.json /usr/src/Model/
RUN npm install
COPY ./Model /usr/src/Model
RUN mkdir /usr/src/Model/temp
COPY ./Model /usr/src/Model/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/Model/temp/node_modules
RUN cp -a /usr/src/Model/temp/. /usr/src/Model/
RUN cd /usr/src/Model/
RUN rm -rf /usr/src/Model/temp/
RUN npm run compile
# Install CommonServer
RUN mkdir /usr/src/CommonServer
WORKDIR /usr/src/CommonServer
COPY ./CommonServer/package*.json /usr/src/CommonServer/
RUN npm install
COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/CommonServer/temp
COPY ./CommonServer /usr/src/CommonServer/temp
# Remove node modules copies from local computer.
RUN rm -rf /usr/src/CommonServer/temp/node_modules
RUN cp -a /usr/src/CommonServer/temp/. /usr/src/CommonServer/
RUN cd /usr/src/CommonServer/
RUN rm -rf /usr/src/CommonServer/temp/
RUN npm run compile