Compare commits
2 Commits
0d8fdf61e6
...
f572748de5
Author | SHA1 | Date | |
---|---|---|---|
f572748de5 | |||
c70144bb22 |
4
.prod/Dockerfile
Normal file
4
.prod/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM node:latest
|
||||
WORKDIR /home/node/app
|
||||
RUN npm install -g pnpm
|
||||
CMD ["pnpm", "go"]
|
4
update/update_host.sh → .prod/update.sh
Executable file → Normal file
4
update/update_host.sh → .prod/update.sh
Executable file → Normal file
@ -1,4 +1,4 @@
|
||||
sudo docker restart techtracker
|
||||
cd ~/Documents/Web/Tech_Tracker_Web
|
||||
git pull
|
||||
sudo docker exec techtracker bash update/update_container.sh
|
||||
pnpm update
|
||||
sudo docker restart techtracker
|
@ -1,4 +0,0 @@
|
||||
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
|
||||
source ~/.bashrc
|
||||
pnpm build
|
||||
pnpm start
|
Loading…
Reference in New Issue
Block a user