mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 14:56:36 +00:00
fix(docker): upgrade Node.js version to 22-alpine in Dockerfile to resolve reference error
This commit is contained in:
parent
1d65c3cb4a
commit
342d35de6f
@ -2,7 +2,7 @@
|
||||
|
||||
# Upgrade to Node.js v20 to fix `ReferenceError: File is not defined` issue
|
||||
# Reference: https://github.com/vercel/next.js/discussions/56032
|
||||
FROM node:20-alpine AS base
|
||||
FROM node:22-alpine AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:latest as builder
|
||||
FROM alpine:latest AS builder
|
||||
|
||||
RUN apk add --no-cache git npm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user