From 2924fe5be29b2c0fab88f70e815e5b8ff0a77d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EB=AF=BC=EC=A3=BC?= Date: Mon, 25 Aug 2025 23:07:54 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20docker=20=EB=B2=84=EC=A0=84=20?= =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- Dockerfile.dev | 4 ++-- Dockerfile.prod | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 512be29b..289592f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # 운영환경(main branch)에서 사용하는 Dockerfile # 1단계: build -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder WORKDIR /app COPY . . @@ -12,7 +12,7 @@ COPY .env .env RUN yarn install && yarn build # 2단계: production -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production diff --git a/Dockerfile.dev b/Dockerfile.dev index d8e6b9b8..602260d3 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,7 +1,7 @@ # 운영환경(main branch)에서 사용하는 Dockerfile # 1단계: build -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder WORKDIR /app COPY . . @@ -12,7 +12,7 @@ COPY .env .env RUN yarn install && yarn build # 2단계: production -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production diff --git a/Dockerfile.prod b/Dockerfile.prod index d8e6b9b8..602260d3 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,7 +1,7 @@ # 운영환경(main branch)에서 사용하는 Dockerfile # 1단계: build -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder WORKDIR /app COPY . . @@ -12,7 +12,7 @@ COPY .env .env RUN yarn install && yarn build # 2단계: production -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production