update Dockerfile

This commit is contained in:
SrGooglo 2024-02-07 00:48:47 +01:00
parent 9acf0b4448
commit b4f7b0f65d
1 changed files with 3 additions and 2 deletions

View File

@ -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"]