프론트 도커 수정
This commit is contained in:
parent
9097ab8b68
commit
f4b32d92be
|
|
@ -1,5 +1,5 @@
|
|||
# Multi-stage build for Next.js
|
||||
FROM node:18-alpine AS base
|
||||
FROM node:20-alpine AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
|
|
@ -8,7 +8,7 @@ WORKDIR /app
|
|||
|
||||
# Install dependencies
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM base AS builder
|
||||
|
|
|
|||
Loading…
Reference in New Issue