From f4b32d92be253c25b9881352e380cc47065afcc9 Mon Sep 17 00:00:00 2001 From: dohyeons Date: Thu, 2 Oct 2025 16:48:12 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=A0=ED=8A=B8=20=EB=8F=84?= =?UTF-8?q?=EC=BB=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/deploy/frontend.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/deploy/frontend.Dockerfile b/docker/deploy/frontend.Dockerfile index 794dcaf1..2730c925 100644 --- a/docker/deploy/frontend.Dockerfile +++ b/docker/deploy/frontend.Dockerfile @@ -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