mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🐛 fix: use pnpm to fix docker release
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
name: Publish Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# workflow_dispatch:
|
||||
# release:
|
||||
# types: [published]
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
|
||||
+1
-2
@@ -10,10 +10,9 @@ WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN pnpm i -g bun@1.0.8
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user