diff --git a/Dockerfile b/Dockerfile index 9e9ff275037..59750653680 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY ./pnpm-lock.yaml /root/running_page/pnpm-lock.yaml RUN npm config rm proxy&&npm config set registry https://registry.npmjs.org/ \ &&npm install -g corepack \ &&corepack enable \ - &&yarn install + &&pnpm install FROM develop-py AS data ARG app @@ -61,7 +61,7 @@ RUN python3 run_page/gen_svg.py --from-db --title "my running page" --type grid FROM develop-node AS frontend-build WORKDIR /root/running_page COPY --from=data /root/running_page /root/running_page -RUN yarn run build +RUN pnpm run build FROM nginx:alpine AS web COPY --from=frontend-build /root/running_page/dist /usr/share/nginx/html/