From bc9fe803d45bf8bf2283e71e76d186ec15557cba Mon Sep 17 00:00:00 2001 From: Peter Stanko Date: Sun, 14 Apr 2024 14:50:12 +0200 Subject: [PATCH] feat(api): Introduce the dockerifnore and update cron --- .dockerignore | 17 +++++++++++++++++ ops/update_cron.sh | 3 +-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e54f903 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,17 @@ +.idea/ +target/ +*.tmp +*.exe +miniscrape +config/local-config.* +log/ +bin/ +!bin/.gitkeep + +reports/ + +.DS_Store +node_modules +/build + +runtime/ \ No newline at end of file diff --git a/ops/update_cron.sh b/ops/update_cron.sh index 8b9b688..ffbc11d 100755 --- a/ops/update_cron.sh +++ b/ops/update_cron.sh @@ -16,8 +16,7 @@ git stash git pull git stash apply -go clean -make build +docker compose up --build -d --wait cd "$old_dir" || die "Unable to return the $old_dir" \ No newline at end of file