containers: made sleep 20h mandatory
All checks were successful
pipeline / build-and-push-images (push) Successful in 53s
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:
@@ -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"
|
||||
CMD /bin/sh -c "node --import=tsx index.ts; sleep 20h"
|
||||
Reference in New Issue
Block a user