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