Upgrade to node:24-alpine
This commit is contained in:
1 parent
c6b82e5114
commit
3bb99c07be
1 file changed
+2
-2
+2
-2
@@ -1,10 +1,10 @@
|
||||
FROM node:18-alpine AS base
|
||||
FROM node:24-alpine AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM base AS builder
|
||||
|
||||
Reference in new issue
Block a user