mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
fix docker file
This commit is contained in:
parent
782d6f1946
commit
ce0e571bbe
45 changed files with 1009 additions and 726 deletions
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -4,8 +4,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
# Build Dist
|
||||
*/build/dist/*
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
.vscode/
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
Accounts/.gitignore
vendored
2
Accounts/.gitignore
vendored
|
|
@ -3,8 +3,6 @@
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
.idea
|
||||
# testing
|
||||
/coverage
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
AdminDashboard/.gitignore
vendored
2
AdminDashboard/.gitignore
vendored
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
2
CommonUI/.gitignore
vendored
|
|
@ -3,8 +3,6 @@
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
Dashboard/.gitignore
vendored
2
Dashboard/.gitignore
vendored
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
Licensing/.gitignore
vendored
2
Licensing/.gitignore
vendored
|
|
@ -3,8 +3,6 @@
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
.idea
|
||||
|
||||
# misc
|
||||
|
|
|
|||
|
|
@ -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
2
Mail/.gitignore
vendored
|
|
@ -3,8 +3,6 @@
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
|
|
|
|||
|
|
@ -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
1172
Model/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
Realtime/.gitignore
vendored
2
Realtime/.gitignore
vendored
|
|
@ -3,8 +3,6 @@
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
.idea
|
||||
|
||||
# misc
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
2
StatusPage/.gitignore
vendored
2
StatusPage/.gitignore
vendored
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ node_modules
|
|||
# dependencies
|
||||
/node_modules
|
||||
node_modules
|
||||
*/node_modules/*
|
||||
**/node_modules/*
|
||||
|
||||
.idea
|
||||
# testing
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue