Modularize server into multiple files

This commit is contained in:
schlagmichdoch 2023-11-02 03:17:20 +01:00
parent d9270a5560
commit cb72edef20
8 changed files with 923 additions and 901 deletions

View file

@ -16,4 +16,4 @@ EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3000 || exit 1
ENTRYPOINT ["node", "index.js"]
ENTRYPOINT ["npm", "start"]