added node env

This commit is contained in:
SrGooglo 2023-04-04 11:24:33 +00:00
parent b6b51e5d7f
commit 43ba86986a

View File

@ -16,4 +16,4 @@ RUN chmod -R 777 /home/node/app
RUN npm install
RUN npm run build
CMD ["node", "/home/node/app/dist/index.js"]
CMD ["NODE_ENV=production", "node", "/home/node/app/dist/index.js"]