file not found in build context or excluded by .dockerignore

boingboing·2021년 12월 22일
0

현상

  • 도커파일에 빌드했더니 발생.

원인

  • ADD와 COPY는 빌드 컨텍스트 패스와 연관 있어서,
    COPY /opt/git/files 이런식으로 절대 경로로 쓸 수 없다고 함.

0개의 댓글