Skip to content

Commit 6f3cc44

Browse files
committed
add nodemon back until node --watch is fixed nodejs/node#51621
1 parent 6d3f126 commit 6f3cc44

7 files changed

Lines changed: 355 additions & 16 deletions

File tree

‎k8s/auth/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN npm install
2626

2727
COPY . .
2828

29-
CMD ["node", "--watch-path=./src", "src/index.mjs"]
29+
CMD ./node_modules/.bin/nodemon --signal SIGINT src/index.mjs
3030

3131
# ----
3232
# Prod
@@ -41,4 +41,4 @@ RUN npm install
4141

4242
COPY . .
4343

44-
CMD ["node", "src/index.mjs"]
44+
CMD node src/index.mjs

0 commit comments

Comments
 (0)