Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

# 빌드 시점에 환경변수 설정 (외부에서 전달받음, 기본값 없음)
ARG NEXT_PUBLIC_API_URL
ARG NEXT_PUBLIC_TEAM_ID
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
ENV NEXT_PUBLIC_TEAM_ID=$NEXT_PUBLIC_TEAM_ID

RUN npm run build

FROM base AS runner
Expand Down