From b4f7b0f65d8d028430ab30e21a474398233c195c Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Wed, 7 Feb 2024 00:48:47 +0100 Subject: [PATCH] update Dockerfile --- node_api/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/node_api/Dockerfile b/node_api/Dockerfile index 21cd634..86ae0d9 100644 --- a/node_api/Dockerfile +++ b/node_api/Dockerfile @@ -13,8 +13,9 @@ EXPOSE 3000 COPY --chown=node:node . . RUN chmod -R 777 /home/node/app -RUN npm install -D --force -RUN npm run build +RUN cd /home/node/app/web && npm install -D --force + +RUN cd /home/node/app/web && npm run build CMD ["node", "/home/node/app/api/index.js"] \ No newline at end of file