diff --git a/.prod/Dockerfile b/.prod/Dockerfile new file mode 100644 index 0000000..5455e3c --- /dev/null +++ b/.prod/Dockerfile @@ -0,0 +1,4 @@ +FROM node:latest +WORKDIR /home/node/app +RUN npm install -g pnpm +CMD ["pnpm", "go"] diff --git a/update/update_container.sh b/update/update_container.sh deleted file mode 100755 index 741849b..0000000 --- a/update/update_container.sh +++ /dev/null @@ -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 diff --git a/update/update_host.sh b/update/update_host.sh deleted file mode 100755 index b973f9b..0000000 --- a/update/update_host.sh +++ /dev/null @@ -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