containers: made sleep 20h mandatory
All checks were successful
pipeline / build-and-push-images (push) Successful in 53s

sleep 20h was only working when node command was a success; it made it infinetely retrying on error
This commit is contained in:
2025-12-06 00:17:49 +01:00
parent c8e71dc223
commit 5ecd5f8a95
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ USER node
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./
RUN npm install RUN npm install
COPY --chown=node:node . . COPY --chown=node:node . .
CMD /bin/sh -c "node --import=tsx index.ts && sleep 20h" CMD /bin/sh -c "node --import=tsx index.ts; sleep 20h"

View File

@@ -5,4 +5,4 @@ USER node
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./
RUN npm install RUN npm install
COPY --chown=node:node . . COPY --chown=node:node . .
CMD /bin/sh -c "node --import=tsx index.ts && sleep 1h" CMD /bin/sh -c "node --import=tsx index.ts; sleep 1h"