From 5ecd5f8a954031909425346d40c18ec89d97406c Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sat, 6 Dec 2025 00:17:49 +0100 Subject: [PATCH] containers: made sleep 20h mandatory sleep 20h was only working when node command was a success; it made it infinetely retrying on error --- match_collector/Dockerfile | 2 +- patch_detector/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/match_collector/Dockerfile b/match_collector/Dockerfile index 61e210b..8ffcbab 100644 --- a/match_collector/Dockerfile +++ b/match_collector/Dockerfile @@ -5,4 +5,4 @@ USER node COPY --chown=node:node package*.json ./ RUN npm install COPY --chown=node:node . . -CMD /bin/sh -c "node --import=tsx index.ts && sleep 20h" \ No newline at end of file +CMD /bin/sh -c "node --import=tsx index.ts; sleep 20h" \ No newline at end of file diff --git a/patch_detector/Dockerfile b/patch_detector/Dockerfile index 5363888..f865ae9 100644 --- a/patch_detector/Dockerfile +++ b/patch_detector/Dockerfile @@ -5,4 +5,4 @@ USER node COPY --chown=node:node package*.json ./ RUN npm install COPY --chown=node:node . . -CMD /bin/sh -c "node --import=tsx index.ts && sleep 1h" \ No newline at end of file +CMD /bin/sh -c "node --import=tsx index.ts; sleep 1h" \ No newline at end of file