Finally a production ready application
This commit is contained in:
parent
0d8fdf61e6
commit
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"]
|
@ -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
|
|
@ -1,4 +0,0 @@
|
|||||||
sudo docker restart techtracker
|
|
||||||
cd ~/Documents/Web/Tech_Tracker_Web
|
|
||||||
git pull
|
|
||||||
sudo docker exec techtracker bash update/update_container.sh
|
|
Loading…
Reference in New Issue
Block a user