feat : 프로젝트 전반적인 커밋
SpecialSource Frontend (React) CD / deploy (push) Failing after 1m2s

This commit is contained in:
sungjin.choi committed 2026-11-17 10:21:33 +09:00
1 parent cfda95c1ba
commit a49df04adf
28 files changed
+734 -304

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# 1단계: Next.js 정적 빌드 → /app/out
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# 2단계: nginx로 정적 파일 서비스 (기존 Vue 배포와 같은 방식)
FROM nginx:alpine
COPY --from=build /app/out /usr/share/nginx/html
EXPOSE 80