Fix Dockerfile - use Node.js 22 instead of 20 for Astro 6 compatibility

This commit is contained in:
Kunthawat committed 2026-04-02 10:27:32 +07:00
1 parent e1aaddc9e9
commit 4bb73d8924
1 file changed
+2 -2
+2 -2
View File
@@ -1,11 +1,11 @@
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
FROM node:20-alpine
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps