fix: Dockerfile 安装 sqlite3(API 和 Worker 依赖)
This commit is contained in:
parent
88656b6076
commit
e289aadd47
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue