프론트 도커 수정

This commit is contained in:
dohyeons 2025-10-02 16:48:12 +09:00
parent 9097ab8b68
commit f4b32d92be
1 changed files with 2 additions and 2 deletions

View File

@ -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