From 54b10e4bf6f3d97704297810ef5121d7e7740779 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 14 Aug 2023 23:16:01 +0300 Subject: [PATCH] Add script for production updates --- .dockerignore | 5 +++++ updateProd.sh | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 updateProd.sh diff --git a/.dockerignore b/.dockerignore index 18710c85..24175c1d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,8 @@ +# Docs +README.md +LICENSE +TODO.txt + # Git .git .gitignore diff --git a/updateProd.sh b/updateProd.sh new file mode 100644 index 00000000..e7a4693e --- /dev/null +++ b/updateProd.sh @@ -0,0 +1,3 @@ +git pull +docker compose -f "docker-compose-prod.yml" up --build -d +docker image prune -f \ No newline at end of file