Skip to content

feat: Dockerfile 및 GitHub Actions CI/CD 추가 (ECR 배포)#10

Merged
LEESEOJUN-creator merged 2 commits into
devfrom
feat/#9-cicd-ecr
May 12, 2026
Merged

feat: Dockerfile 및 GitHub Actions CI/CD 추가 (ECR 배포)#10
LEESEOJUN-creator merged 2 commits into
devfrom
feat/#9-cicd-ecr

Conversation

@LEESEOJUN-creator
Copy link
Copy Markdown
Contributor

Summary

  • next.config.ts에 output: standalone 설정 추가
  • Node.js 20 Alpine 멀티스테이지 Dockerfile 생성
  • .github/workflows/ci.yml: PR/push 시 타입검사·린트·빌드, main push 시 ECR 자동 배포

ECR

  • Registry: 428185450315.dkr.ecr.ap-northeast-2.amazonaws.com
  • Repository: dgu-cap-frontend
  • 태그: {git SHA} + latest

GitHub Secrets 설정 필요

  • AWS_ACCESS_KEY_ID: IAM 키
  • AWS_SECRET_ACCESS_KEY: IAM 시크릿

Test plan

  • PR 열면 build job 실행 확인
  • main 머지 후 deploy job -> ECR 이미지 푸시 확인
  • ECR 콘솔에서 이미지 태그 확인

Closes #9

🤖 Generated with Claude Code

LEESEOJUN-creator and others added 2 commits May 12, 2026 19:21
- next.config.ts: output standalone 모드 설정
- Dockerfile: Node.js 20 Alpine 멀티스테이지 빌드
- .github/workflows/ci.yml: 타입검사/린트/빌드 + main 푸시 시 ECR 자동 배포

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@LEESEOJUN-creator LEESEOJUN-creator merged commit 1bf7451 into dev May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant