인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

fightest215024's profile image
fightest215024

asked

Learn Docker and CI environment by following [2023.11 update]

Writing .travis.yml file

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/travis/build/chococake22/docker-fullstack-app/frontend/Dockerfile.dev: no such file or directory

Written on

·

607

0

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/travis/build/chococake22/docker-fullstack-app/frontend/Dockerfile.dev: no such file or directory

travis ci 에서 배포를 할 경우 이런 오류가 계속 뜹니다...

파일이나 디렉토리가 존재하니 않는다고 하는데요...

어떻게 해결해야 하는 걸까요ㅠㅠㅠ

travis-ci데이터 엔지니어링cicdgithubdockeraws

Answer 1

1

안녕하세요

저도 같은 문제였는데

frontend 부분에 .git이 추가되어있엇어요.

travis ci에서 보시면 frondend 폴더가 화살표로 되어있고 클릭불가더라구요.

frontend 부분의 .git을 삭제 하고 git rm --cached . -rf 후 다시 add하고 진행하니 해결되었습니다.

참고하시면 좋을꺼 같아요.

fightest215024's profile image
fightest215024

asked

Ask a question