diff --git a/update/update_container.sh b/update/update_container.sh index 4661e3d..2b42d17 100755 --- a/update/update_container.sh +++ b/update/update_container.sh @@ -1,3 +1,4 @@ -wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - +#wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash - +#source ~/.bashrc /home/node/.local/share/pnpm/pnpm build /home/node/.local/share/pnpm/pnpm start & diff --git a/update/update_host.sh b/update/update_host.sh index b77bcff..b973f9b 100755 --- a/update/update_host.sh +++ b/update/update_host.sh @@ -1,4 +1,4 @@ sudo docker restart techtracker cd ~/Documents/Web/Tech_Tracker_Web git pull -sudo docker exec techtracker /home/node/app/update/update_container.sh +sudo docker exec techtracker bash update/update_container.sh