Add back health check and fix json file not found

This commit is contained in:
Maidul Islam
2022-12-18 20:10:17 -05:00
parent fbc38c553a
commit 6bb24933bf
3 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ RUN npm ci --only-production --ignore-scripts
COPY . .
# HEALTHCHECK --interval=10s --timeout=3s --start-period=10s \
# CMD node healthcheck.js
HEALTHCHECK --interval=10s --timeout=3s --start-period=10s \
CMD node healthcheck.js
CMD ["npm", "run", "start"]
+1 -1
View File
@@ -34,7 +34,7 @@
"prepare": "cd .. && npm install",
"start": "npm run build && node build/index.js",
"dev": "nodemon",
"build": "rimraf ./build && tsc && cp -R ./src/templates ./src/json ./build",
"build": "rimraf ./build && tsc && cp -R ./src/templates ./build",
"lint": "eslint . --ext .ts",
"lint-and-fix": "eslint . --ext .ts --fix",
"lint-staged": "lint-staged"