Commit 4208ef77 by 김현기

docker: frontend ok

parent 6423fee9
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# #
#target=$(cat .select-home-frontend-target) #target=$(cat .select-home-frontend-target)
rm -rf ../apps/frontend
cp -av ../frontend ../apps
docker-compose run --name neuro-home-frontend-init \ docker-compose run --name neuro-home-frontend-init \
--rm \ --rm \
--workdir /apps/frontend/ \ --workdir /apps/frontend/ \
......
#!/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 \ docker-compose run --name neuro-home-dev-frontend \
--rm \ --rm \
-u $(id -u ${USER}):$(id -g ${USER}) \ -u $(id -u ${USER}):$(id -g ${USER}) \
--workdir /apps/frontend/ \ --workdir /apps/frontend/ \
......
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