From 5e2544be6d761b766767d66e40c90b3e98e9fd3f Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 6 Aug 2025 21:03:54 +0300 Subject: [PATCH] fix: update node version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9d4f2e1..52d170e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=20.10.0 +ARG NODE_VERSION=22.12.0 ARG PORT=6060 FROM node:${NODE_VERSION}-slim as base @@ -9,7 +9,7 @@ WORKDIR /app FROM base as build COPY package.json . COPY package-lock.json . -RUN npm ci --production=false +RUN npm install --production=false COPY . . RUN npm run build RUN npm prune @@ -25,4 +25,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \ # Install curl for health check RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* -CMD ["node", ".output/server/index.mjs"] +CMD ["node", ".output/server/index.mjs"] \ No newline at end of file