build: ensure app only installs production dependencies on docker deployment

This commit is contained in:
2025-03-23 21:12:10 -07:00
parent 6f0602f49b
commit 37195341c5

View File

@@ -7,4 +7,6 @@
cp -r ${DIR_BUILD}/* ${DIR_RUN} cp -r ${DIR_BUILD}/* ${DIR_RUN}
rm -rf ${DIR_BUILD}/* rm -rf ${DIR_BUILD}/*
cd ${DIR_RUN} cd ${DIR_RUN}
npm install --omit=dev
npm start npm start