From 3bc17c6f0e5df5d0609a6851c625a3151eb969db Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 10 Mar 2026 15:15:34 -0400 Subject: [PATCH] Update node --- .github/workflows/test.yaml | 6 +++--- Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4ffbc36..b03e2a0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - id: cache uses: actions/cache/restore@v4 @@ -72,7 +72,7 @@ jobs: run: docker ps - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - id: cache uses: actions/cache/restore@v4 @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - name: restore postgres nyc output diff --git a/Dockerfile b/Dockerfile index 0d77af9..fba380f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM node:18-alpine as builder +FROM node:24-alpine AS builder RUN apk add --no-cache --virtual .build-deps python3 make g++ COPY package.json package-lock.json tsconfig.json entrypoint.sh ./ COPY src src RUN npm ci && npm run tsc -FROM node:18-alpine as app +FROM node:24-alpine AS app WORKDIR /usr/src/app RUN apk add --no-cache git postgresql-client COPY --from=builder ./node_modules ./node_modules