CI install sqlite3
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Builder
|
||||
FROM node:20-bookworm AS builder
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --legacy-peer-deps
|
||||
@@ -8,7 +9,9 @@ COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Runtime
|
||||
FROM node:20-slim AS runner
|
||||
FROM node:20-alpine AS runner
|
||||
RUN apk add --no-cache python3 make g++ sqlite
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/.output ./.output
|
||||
COPY package*.json ./
|
||||
|
||||
Reference in New Issue
Block a user