Update Dockerfile to use Node.js 22 LTS

This commit is contained in:
Leopere 2025-03-02 13:49:40 -05:00
parent 9d45d1ded4
commit abe9cca6eb
1 changed files with 2 additions and 2 deletions

View File

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