Skip to content

Commit

Permalink
feat: fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Jan 3, 2025
1 parent 4193f95 commit 9c3d328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY . .

# 从 Git 仓库中克隆项目
RUN pnpm install && \
npm run build:portal
npm run build:portal:single

# 清理不必要的文件
RUN rm -rf .git
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"start": "turbo run start",
"build": "turbo run build --no-cache",
"build:portal": "npm run build && cd packages/studio-website && npm run build:site",
"build:portal:single": "npm run build && cd packages/studio-website && npm run build:site:single",
"build:docs:interactive": "npm run build && cd docs/interactive && npm run build:site",
"build:docs:portal": "npm run build && dumi build",
"docs": "dumi dev",
Expand Down

0 comments on commit 9c3d328

Please sign in to comment.