Update node

This commit is contained in:
Ajay
2026-03-10 15:15:34 -04:00
parent 529eb8f949
commit 3bc17c6f0e
2 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 24
cache: npm cache: npm
- id: cache - id: cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@@ -72,7 +72,7 @@ jobs:
run: docker ps run: docker ps
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 24
cache: npm cache: npm
- id: cache - id: cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 24
cache: npm cache: npm
- run: npm ci - run: npm ci
- name: restore postgres nyc output - name: restore postgres nyc output

View File

@@ -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++ RUN apk add --no-cache --virtual .build-deps python3 make g++
COPY package.json package-lock.json tsconfig.json entrypoint.sh ./ COPY package.json package-lock.json tsconfig.json entrypoint.sh ./
COPY src src COPY src src
RUN npm ci && npm run tsc RUN npm ci && npm run tsc
FROM node:18-alpine as app FROM node:24-alpine AS app
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN apk add --no-cache git postgresql-client RUN apk add --no-cache git postgresql-client
COPY --from=builder ./node_modules ./node_modules COPY --from=builder ./node_modules ./node_modules