fix: Dockerfile 安装 sqlite3(API 和 Worker 依赖)

This commit is contained in:
aiyimickey 2026-07-01 21:27:20 +08:00
parent 88656b6076
commit e289aadd47
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ RUN npm run build
FROM node:22-alpine AS runner FROM node:22-alpine AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
RUN apk add --no-cache sqlite
COPY --from=base /app/.next/standalone ./ COPY --from=base /app/.next/standalone ./
COPY --from=base /app/.next/static ./.next/static COPY --from=base /app/.next/static ./.next/static
COPY --from=base /app/scripts ./scripts COPY --from=base /app/scripts ./scripts