Fix Node.js version compatibility for Nuxt 3.18.0
Some checks failed
build-and-deploy / build (push) Successful in 44s
build-and-deploy / deploy (push) Failing after 2s

This commit is contained in:
2025-08-04 13:52:47 -06:00
parent f0ed200577
commit fe91087875

View File

@@ -1,5 +1,5 @@
# Build stage
FROM node:18-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /app
@@ -7,7 +7,7 @@ WORKDIR /app
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
RUN npm ci --omit=dev
# Copy source code
COPY . .
@@ -16,7 +16,7 @@ COPY . .
RUN npm run build
# Production stage
FROM node:18-alpine AS production
FROM node:20-alpine AS production
WORKDIR /app