-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix: use pnpm to fix docker release
- Loading branch information
Showing
2 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,9 @@ WORKDIR /app | |
|
||
COPY package.json ./ | ||
|
||
RUN pnpm i -g [email protected] | ||
# If you want to build docker in China | ||
#RUN npm config set registry https://registry.npmmirror.com/ | ||
RUN bun i | ||
RUN pnpm i | ||
|
||
COPY . . | ||
RUN pnpm run build:docker # run build standalone for docker version | ||
|