entrypoint: added start api services scripts
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 3m1s
All checks were successful
Build Docker Image / Build Docker Image (push) Successful in 3m1s
Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
@@ -14,4 +14,7 @@ ADD package.json /server/package.json
|
||||
ADD exthernal-login-api /server/exthernal-login-api
|
||||
ADD exthernal-ttc-api /server/exthernal-ttc-api
|
||||
|
||||
ADD start-accountingwep.sh /server/start-accountingwep.sh
|
||||
ADD start-login.sh /server/start-login.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint"]
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /server/exthernal-login-api
|
||||
& npm start
|
||||
|
||||
cd /server/exthernal-accountingwep-api
|
||||
& npm start
|
||||
./start-login.sh &
|
||||
exec ./start-accountingwep.sh
|
||||
3
start-accountingwep.sh
Normal file
3
start-accountingwep.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /server/exthernal-accountingwep-api
|
||||
npm start
|
||||
3
start-login.sh
Normal file
3
start-login.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /server/exthernal-login-api
|
||||
npm start
|
||||
Reference in New Issue
Block a user