fix: don't use pm2 for dev

This commit is contained in:
Nemo D'ACREMONT 2024-10-25 11:03:08 +02:00
parent a2e176f249
commit f0b04ff710
No known key found for this signature in database
GPG Key ID: 6E5BCE8022FA8276

View File

@ -40,4 +40,5 @@ RUN chmod -R u=rwx,g=,o= ./
EXPOSE 3000
# Start app
CMD ["pm2", "start", "dist/app.js", "--no-daemon"]
CMD ["npm", "run", "startonly"]
#CMD ["pm2", "start", "dist/app.js", "--no-daemon"]