sleep 20h was only working when node command was a success; it made it infinetely retrying on error
This commit is contained in:
1 parent
c8e71dc223
commit
5ecd5f8a95
2 files changed
+2
-2
No files matched your search
@@ -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"
|
||||
@@ -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"
|
||||
CMD /bin/sh -c "node --import=tsx index.ts; sleep 1h"
|
||||
Reference in new issue
Block a user