diff --git a/Dockerfile b/Dockerfile index 21e442c..27031ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # Multi-stage build for production optimization -FROM node:20-bullseye AS build +FROM node:20.19-bullseye AS build WORKDIR /app # Use official Node.js runtime as base image -FROM node:20-slim +FROM node:20.19-slim # Install curl for health checks RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* @@ -24,7 +24,7 @@ RUN npm ci COPY . . RUN npm run build -FROM node:20-alpine AS runtime +FROM node:20.19-alpine AS runtime WORKDIR /app ENV NODE_ENV=production COPY package*.json ./ diff --git a/package-lock.json b/package-lock.json index 9e26fe2..bf44dc5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6148,11 +6148,11 @@ "@prisma/client-runtime-utils": "7.2.0" }, "engines": { - "node": "^20.19 || ^22.12 || >=24.0" + "node": ">=18.18" }, "peerDependencies": { "prisma": "*", - "typescript": ">=5.4.0" + "typescript": ">=5.1.0" }, "peerDependenciesMeta": { "prisma": { @@ -12935,24 +12935,28 @@ "license": "MIT" }, "node_modules/nypm": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/nypm/-/nypm-0.6.2.tgz", - "integrity": "sha512-7eM+hpOtrKrBDCh7Ypu2lJ9Z7PNZBdi/8AT3AX8xoCj43BBVHD0hPSTEvMtkMpfs8FCqBGhxB+uToIQimA111g==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/nypm/-/nypm-0.6.4.tgz", + "integrity": "sha512-1TvCKjZyyklN+JJj2TS3P4uSQEInrM/HkkuSXsEzm1ApPgBffOn8gFguNnZf07r/1X6vlryfIqMUkJKQMzlZiw==", "license": "MIT", "dependencies": { - "citty": "^0.1.6", - "consola": "^3.4.2", + "citty": "^0.2.0", "pathe": "^2.0.3", - "pkg-types": "^2.3.0", - "tinyexec": "^1.0.1" + "tinyexec": "^1.0.2" }, "bin": { "nypm": "dist/cli.mjs" }, "engines": { - "node": "^14.16.0 || >=16.10.0" + "node": ">=18" } }, + "node_modules/nypm/node_modules/citty": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/citty/-/citty-0.2.0.tgz", + "integrity": "sha512-8csy5IBFI2ex2hTVpaHN2j+LNE199AgiI7y4dMintrr8i0lQiFn+0AWMZrWdHKIgMOer65f8IThysYhoReqjWA==", + "license": "MIT" + }, "node_modules/object-inspect": { "version": "1.13.4", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", diff --git a/package.json b/package.json index 6a7f19a..a806636 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "react-refresh": "^0.18.0", "tailwindcss": "^4.1.17", "ts-node": "^10.9.2", - "typescript": "^5.0.2", + "typescript": "^5.4.0", "vite": "^7.3.1", "vite-plugin-pwa": "^1.1.0", "vitest": "^4.0.17"