fix: update node version
Build And Push Image / docker (push) Failing after 2m39s Details

This commit is contained in:
Ron 2025-08-06 21:03:54 +03:00
parent c59ace8fc3
commit 5e2544be6d
1 changed files with 3 additions and 3 deletions

View File

@ -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"]