move docker to root

This commit is contained in:
SrGooglo 2024-02-07 00:55:23 +01:00
parent 743415e7b3
commit 2954de2914
2 changed files with 4 additions and 4 deletions

View File

@ -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
RUN cd /home/node/app/node_api/api && npm install -D --force
RUN cd /home/node/app/node_api/web && npm install -D --force
RUN cd /home/node/app/node_api/web && npm run build
CMD ["node", "/home/node/app/api/index.js"]
CMD ["node", "/home/node/app/node_api/api/index.js"]