chore: update Dockerfile to specify Node.js v20 or higher for resolving ReferenceError

This commit is contained in:
cfngc4594 2025-02-20 08:54:37 +08:00
parent 3f2bc8c332
commit 5a2d4f77da

View File

@ -1,6 +1,6 @@
# syntax=docker.io/docker/dockerfile:1 # syntax=docker.io/docker/dockerfile:1
# Upgrade to Node.js v20 to fix `ReferenceError: File is not defined` issue # Upgrade to Node.js v20 or higher to resolve the `ReferenceError: File is not defined` issue
# Reference: https://github.com/vercel/next.js/discussions/56032 # Reference: https://github.com/vercel/next.js/discussions/56032
FROM node:22-alpine AS base FROM node:22-alpine AS base