diff --git a/node_api/Dockerfile b/node_api/Dockerfile index 86ae0d9..113d3f8 100644 --- a/node_api/Dockerfile +++ b/node_api/Dockerfile @@ -14,8 +14,8 @@ COPY --chown=node:node . . RUN chmod -R 777 /home/node/app +RUN cd /home/node/app/api && npm install -D --force 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 diff --git a/node_api/package.json b/node_api/api/package.json similarity index 100% rename from node_api/package.json rename to node_api/api/package.json