Removed pm2

This commit is contained in:
Alan Grainger
2025-03-07 13:38:42 +08:00
parent 326dade107
commit be604a24c8
4 changed files with 33 additions and 5 deletions
+1 -3
View File
@@ -10,8 +10,6 @@ WORKDIR /app
COPY app/ ./
RUN npm install pm2 -g
RUN chown -R node:node /app
USER node
@@ -29,4 +27,4 @@ RUN npx tsc --noCheck
HEALTHCHECK --interval=30s --start-period=10s --timeout=5s CMD wget -q --spider http://localhost:3000/share/healthcheck || exit 1
CMD ["pm2-runtime", "dist/index.js" ]
CMD ["node", "dist/index.js" ]