Skip to content

fix: Docker 빌드 시 .env.local이 복사되어 프로덕션 환경 변수가 무시되는 문제 해결#66

Merged
Hojip-Kim merged 1 commit intomainfrom
dev
Nov 1, 2025
Merged

fix: Docker 빌드 시 .env.local이 복사되어 프로덕션 환경 변수가 무시되는 문제 해결#66
Hojip-Kim merged 1 commit intomainfrom
dev

Conversation

@Hojip-Kim
Copy link
Owner

@Hojip-Kim Hojip-Kim commented Nov 1, 2025

  • .dockerignore에 .env* 추가하여 모든 env 파일 제외
  • !.env.production으로 프로덕션 환경 파일만 예외 처리
  • 이제 빌드 시 S3에서 다운로드한 .env.production만 사용됨

- .dockerignore에 .env* 추가하여 모든 env 파일 제외
- !.env.production으로 프로덕션 환경 파일만 예외 처리
- 이제 빌드 시 S3에서 다운로드한 .env.production만 사용됨

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Nov 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
kimp-run-fe-jvmn Building Building Preview Comment Nov 1, 2025 3:55pm

@Hojip-Kim Hojip-Kim merged commit f0810e1 into main Nov 1, 2025
2 of 3 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