Skip to content

Commit 057f5be

Browse files
krsy0411claude
andcommitted
[fix] Docker Compose 및 gitignore 설정 업데이트
- Docker Compose: named volume에서 anonymous volume으로 변경 - node_modules 자동 정리 및 패키지 변경 시 자동 반영 지원 - version 필드 제거 (deprecated 경고 해결) - VITE_SENTRY_DSN 환경 변수 추가 - gitignore: .env.sentry-build-plugin 제외 추가 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 94ecec0 commit 057f5be

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ dist-ssr
2626
*.njsproj
2727
*.sln
2828
*.sw?
29+
30+
# Sentry Config File
31+
.env.sentry-build-plugin

docker-compose.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "1.0.0"
21
services:
32
web:
43
container_name: docker-ko-dev
@@ -9,12 +8,9 @@ services:
98
- "5173:5173"
109
volumes:
1110
- ./:/app
12-
# 호스트에 node_modules가 없을 경우 이미지에서 설치된 종속성을
13-
# 유지하기 위해 이름 있는 볼륨을 사용합니다.
14-
- node_modules:/app/node_modules
11+
# 익명 볼륨으로 node_modules 보호
12+
# 호스트의 node_modules가 컨테이너 것을 덮어쓰지 않도록 방지
13+
- /app/node_modules
1514
environment:
1615
- NODE_ENV=development
17-
18-
volumes:
19-
node_modules:
20-
name: docker-ko-node_modules
16+
- VITE_SENTRY_DSN=${VITE_SENTRY_DSN}

0 commit comments

Comments
 (0)