Skip to content

Commit

Permalink
fix: 🐛 missing docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
charlzyx committed Mar 7, 2024
1 parent f893991 commit c2eb388
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7,602 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ WORKDIR /app
# RUN apk add curl

COPY package.json bun.lockb bunfig.toml tsconfig.json bunpkg.sh ./
COPY docs docs
COPY src src

RUN bun install --production
# build web site
RUN bun i && bun build:docs
RUN rm -rf node_modules

# build server
RUN bun install --production
# case by DOCKER ENV
RUN rm -rf .env

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"lru-cache": "^10.2.0",
"mime": "^3.0.0",
"nanotar": "^0.1.1",
"ofetch": "^1.3.3",
"semver": "^7.6.0",
"validate-npm-package-name": "^5.0.0"
},
"devDependencies": {
"@types/gunzip-maybe": "^1.4.2",
"@types/mime": "^3.0.4",
"semver": "^7.6.0",
"ofetch": "^1.3.3",
"@types/react": "^18.2.63",
"react-tooltip": "^5.26.3",
"@types/react-dom": "^18.2.20",
Expand Down
Loading

0 comments on commit c2eb388

Please sign in to comment.