Compare commits

..

No commits in common. "f572748de574b5c177e45ae48f438c8d11a153f5" and "0d8fdf61e644c1a2ff3b467013633652efe20d41" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +0,0 @@
FROM node:latest
WORKDIR /home/node/app
RUN npm install -g pnpm
CMD ["pnpm", "go"]

4
update/update_container.sh Executable file
View File

@ -0,0 +1,4 @@
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
source ~/.bashrc
pnpm build
pnpm start

4
.prod/update.sh → update/update_host.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
sudo docker restart techtracker
cd ~/Documents/Web/Tech_Tracker_Web cd ~/Documents/Web/Tech_Tracker_Web
git pull git pull
pnpm update sudo docker exec techtracker bash update/update_container.sh
sudo docker restart techtracker