Bump Containerfile to node:24-alpine (node 20 EOL 2026-04)
This commit is contained in:
1 parent
0eff217326
commit
2cbb4a4d1f
1 file changed
+2
-2
+2
-2
@@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
# --- build stage: compile TypeScript + better-sqlite3's native binding ---
|
||||
FROM node:20-alpine AS build
|
||||
FROM node:24-alpine AS build
|
||||
WORKDIR /app
|
||||
|
||||
# python3/make/g++ are needed for node-gyp to build better-sqlite3 from source
|
||||
@@ -22,7 +22,7 @@ RUN pnpm build
|
||||
RUN pnpm prune --prod
|
||||
|
||||
# --- runtime stage ---
|
||||
FROM node:20-alpine
|
||||
FROM node:24-alpine
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3000
|
||||
|
||||
Reference in new issue
Block a user