chore: update Dockerfile-UI

This commit is contained in:
pycook 2024-06-20 11:07:57 +08:00
parent 3a1920da32
commit a4be8a77aa
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ COPY cmdb-ui /data/apps/cmdb-ui
WORKDIR /data/apps/cmdb-ui
RUN sed -i "s#http://127.0.0.1:5000##g" .env && yarn install && yarn build
RUN sed -i "s#http://127.0.0.1:5000##g" .env && yarn install --ignore-engines && yarn build
FROM nginx:1.21.4 AS cmdb-ui