fix build

This commit is contained in:
sijinhui 2024-08-14 17:01:52 +08:00
parent ed8c18b635
commit 0bdabde514
2 changed files with 6 additions and 2 deletions

View File

@ -34,8 +34,6 @@ jobs:
with:
context: .
push: true
cache-from: type=registry,ref=registry.si.icu/sijinhui/chatgpt-next-web:buildcache
cache-to: type=registry,ref=registry.si.icu/sijinhui/chatgpt-next-web:buildcache,mode=max
tags: |
registry.si.icu/sijinhui/chatgpt-next-web:latest
registry.si.icu/sijinhui/chatgpt-next-web:${{ env.DATE_TAG }}

View File

@ -1,5 +1,11 @@
FROM sijinhui/chatgpt-next-web:buildcache as deps
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install
FROM base AS builder
RUN apk add --no-cache git libc6-compat