fix: Remove demo pages and add testDataService for production build

This commit is contained in:
dahoud
2025-10-02 00:10:01 +00:00
parent b430bf3b96
commit 5bdd4b6e4f
11 changed files with 137 additions and 1877 deletions

View File

@@ -45,5 +45,9 @@ EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD node -e "require('http').get('http://localhost:3000/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
CMD ["node", "server.js"]