diff --git a/Dockerfile b/Dockerfile index f8ca616..cfcbcad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # better-sqlite3 is a native module; build tools are only needed in this stage. -FROM node:24-alpine AS build +FROM node:26-alpine AS build RUN apk add --no-cache python3 make g++ WORKDIR /app COPY package.json package-lock.json ./ @@ -8,7 +8,7 @@ COPY tsconfig.json ./ COPY src ./src RUN npm run build && npm prune --omit=dev -FROM node:24-alpine +FROM node:26-alpine WORKDIR /app ENV NODE_ENV=production COPY --from=build /app/node_modules ./node_modules