Update Dockerfile to use Node.js 22 LTS
This commit is contained in:
parent
9d45d1ded4
commit
abe9cca6eb
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-alpine as builder
|
||||
FROM node:22-alpine as builder
|
||||
|
||||
# Install git and other dependencies
|
||||
RUN apk add --no-cache git
|
||||
|
@ -16,7 +16,7 @@ RUN npm cache clean --force && \
|
|||
# Build assets if needed
|
||||
RUN node update-js.js || echo "No update-js.js script found"
|
||||
|
||||
FROM node:18-alpine
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Loading…
Reference in New Issue