deploy 1
All checks were successful
Deploy App / build (push) Successful in 2m24s
Deploy App / deploy (push) Successful in 24s

This commit is contained in:
valere
2026-02-02 21:34:07 +01:00
parent 98e6213fa1
commit 19d19edb1c

View File

@@ -1,5 +1,5 @@
# Builder
FROM node:20-alpine AS builder
FROM node:20 AS builder
WORKDIR /app
COPY package*.json ./
@@ -9,12 +9,12 @@ COPY . .
RUN npm run build
# Runtime
FROM node:20-alpine AS runner
RUN apk add --no-cache python3 make g++ sqlite
FROM node:20 AS runner
RUN apt-get update && apt-get install -y sqlite3 && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=builder /app/.output ./.output
COPY package*.json ./
COPY ./server/database ./server/database
COPY ./data ./data
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]