Skip to content

Commit

Permalink
chore: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Dec 7, 2024
1 parent 117f9b6 commit 03ceb61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
rm -rf ./public
mkdir -p public
echo '构建用户页面'
cd ui && pnpm install && pnpm build && cd ..
cd ui && CI=false pnpm install && CI=false pnpm build && cd ..
cp -r ui/build/* public/
echo '构建前端数据完成'
ls public/static
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:18-alpine AS feBuilder
WORKDIR /app
COPY . .
RUN npm install -g pnpm
RUN cd /app && cd ui && pnpm install && pnpm build && cd ..
RUN cd /app && cd ui && pnpm install && CI=false pnpm build && cd ..
RUN cd /app && mkdir -p public
RUN cp -r ui/build/* public/

Expand Down

0 comments on commit 03ceb61

Please sign in to comment.