Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

컨테이너 내부 파일 디렉토리 경로 설정 오류 #10

Open
yoonju977 opened this issue Aug 14, 2024 · 0 comments · Fixed by #9
Open

컨테이너 내부 파일 디렉토리 경로 설정 오류 #10

yoonju977 opened this issue Aug 14, 2024 · 0 comments · Fixed by #9
Labels
bug Something isn't working

Comments

@yoonju977
Copy link
Collaborator

버그 리포트

어떤 버그인가요?

버그에 대해 알려주세요/ 터미널에 ERROR메세지 ctrl+c/v


app-1 | python: can't open file '/api/manage.py': [Errno 2] No such file or directory
db-1 | running bootstrap script ... ok
app-1 exited with code 2

어떤 상황에서 겪으셨나요?

버그를 겪으신 상황을 알려주세요, ~기능을 만드는 과정에서 ~했다


도커 빌드후 up 과정에서 manage.py의 파일경로가 로컬의 경로와 컨테이너 내부의 경로와 상이하다는것을 인지
이후 dockerfile과 docker-compose.yml에서 workdir과 service app volume이 api로 두번 설정되어있어
컨테이너 내부에서는 api/api/manage.py로 인식 (실제 로컬은 api/manage.py
해서 app으로 경로 변경
#9

참고할만한 자료가 있을까요?, 기능 만들때 참고한 레퍼런스등...

참고자료가 있다면 첨부해주세요



@yoonju977 yoonju977 added the bug Something isn't working label Aug 14, 2024
@yoonju977 yoonju977 linked a pull request Aug 14, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant