move docker to root
This commit is contained in:
parent
743415e7b3
commit
2954de2914
|
@ -14,8 +14,8 @@ COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN chmod -R 777 /home/node/app
|
RUN chmod -R 777 /home/node/app
|
||||||
|
|
||||||
RUN cd /home/node/app/api && npm install -D --force
|
RUN cd /home/node/app/node_api/api && npm install -D --force
|
||||||
RUN cd /home/node/app/web && npm install -D --force
|
RUN cd /home/node/app/node_api/web && npm install -D --force
|
||||||
RUN cd /home/node/app/web && npm run build
|
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"]
|
Loading…
Reference in New Issue