Commit 6423fee9 by 김현기

docker : backend test ok

parent 76a02fa1
../frontend/
\ No newline at end of file
...@@ -65,7 +65,7 @@ app.use(require('connect-history-api-fallback')()); ...@@ -65,7 +65,7 @@ app.use(require('connect-history-api-fallback')());
app.use(express.static(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'public')));
app.set('port',process.env.PORT || 3000); app.set('port',process.env.PORT || 3001);
/* udp 통신으로 매니저에게 받는 결과값*/ /* udp 통신으로 매니저에게 받는 결과값*/
let udpResultMsg = '' let udpResultMsg = ''
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# #
#target=$(cat .select-home-target) #target=$(cat .select-home-target)
cp -av ../backend ../apps
docker-compose run --name neuro-home-backend-init \ docker-compose run --name neuro-home-backend-init \
--rm \ --rm \
--workdir /apps/backend/ \ --workdir /apps/backend/ \
......
#!/bin/bash #!/bin/bash
if [ ! -f '.select-home-target' ]; then #if [ ! -f '.select-home-target' ]; then
echo -e "다음 중 원하는 타켓 설정 스크립트를 실행하세요" # echo -e "다음 중 원하는 타켓 설정 스크립트를 실행하세요"
echo -e "" # echo -e ""
ls init-* # ls init-*
echo -e "" # echo -e ""
exit 1 # exit 1
fi #fi
#
target=$(cat .select-home-target) #target=$(cat .select-home-target)
echo -e "\\033]2;kcert2-home-$target dev sever\\007" #echo -e "\\033]2;kcert2-home-$target dev sever\\007"
echo -e "kcert2-home-$target dev sever" #echo -e "kcert2-home-$target dev sever"
touch ../apps/frontend/src/vue-apollo.js touch ../apps/frontend/src/vue-apollo.js
docker-compose run --name kcert2-home-$target-dev-backend \ docker-compose run --name neuro-home-dev-backend \
--rm \ --rm \
-u $(id -u ${USER}):$(id -g ${USER}) \ -u $(id -u ${USER}):$(id -g ${USER}) \
--workdir /apps/backend/ \ --workdir /apps/backend/ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment