fix docker build
This commit is contained in:
parent
b4f7b0f65d
commit
73c0f388d2
|
@ -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/web && 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/web && npm run build
|
||||||
|
|
||||||
CMD ["node", "/home/node/app/api/index.js"]
|
CMD ["node", "/home/node/app/api/index.js"]
|
Loading…
Reference in New Issue