fix: Streamlit Dockerfile 에 파일 권한 방어 chmod #52

Merged
xhh merged 1 commit from fix/streamlit-file-permissions into main 2026-04-23 02:58:45 +09:00
Owner

Summary

v0.3.1 배포 후 공개 URL 접속 시 Permission denied: '/app/frontend/streamlit/app.py' 발생. Windows 호스트 빌드에서 COPY 가 파일 읽기 비트를 잃는 알려진 이슈 — API Dockerfile 엔 이미 방어 있음 (CLAUDE.md 기록), Streamlit 엔 누락.

runtime 스테이지 COPY 직후 chmod -R a+rX /app/src /app/frontend 적용.

v0.3.2 태그 찍어 재배포 필요.

## Summary v0.3.1 배포 후 공개 URL 접속 시 `Permission denied: '/app/frontend/streamlit/app.py'` 발생. Windows 호스트 빌드에서 COPY 가 파일 읽기 비트를 잃는 알려진 이슈 — API Dockerfile 엔 이미 방어 있음 (CLAUDE.md 기록), Streamlit 엔 누락. runtime 스테이지 COPY 직후 `chmod -R a+rX /app/src /app/frontend` 적용. v0.3.2 태그 찍어 재배포 필요.
fix: Streamlit Dockerfile 에 파일 권한 방어 chmod 추가
All checks were successful
Tests (PR) / pytest (pull_request) Successful in 28s
6b20e141a5
v0.3.1 배포 성공 후 공개 URL 접속 시 Streamlit 에서
`[Errno 13] Permission denied: '/app/frontend/streamlit/app.py'` 발생.

원인: Windows 호스트에서 Docker 빌드 시 COPY 로 들어간 파일 모드가
읽기 비트를 잃는 경우가 있음. API Dockerfile 은 이미 `chmod -R a+rX`
로 방어하고 있었는데 (CLAUDE.md 에도 기록됨) Streamlit Dockerfile 에는
빠뜨렸다.

수정: runtime 스테이지 COPY 직후 `chmod -R a+rX /app/src /app/frontend`
일괄 적용. 디렉토리엔 exec, 파일엔 read 비트만 부여.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
xhh merged commit 74b6c00ed1 into main 2026-04-23 02:58:45 +09:00
xhh deleted branch fix/streamlit-file-permissions 2026-04-23 02:58:45 +09:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xhh/financial-data-platform!52
No description provided.