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

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