dockerfile에서 멀티스테이지 빌드로
miniconda를
COPY --from=miniconda /opt/conda /opt/conda
ENV PATH /opt/conda/bin:$PATH
로 /opt/conda 안에 집어 넣었음
그리고 conda create env [환경] ~~ 으로 [환경]에다 pip install -r requirements.txt 해서 잘 설치 했었는데
conda env clone으로 [환경2]로 복사 한다음 다른 pip install -r requirement.txt로 설치를 하려고 하는데
"ERROR: Could not install packages due to an OSError: [Errno 39] 디렉터리가 비어있지 않음: '__pycache__'"
라는 에러 뜸
왜이런 걸까? ㅠㅠㅠ 도움점
pip install ~~~ 로 직접 하나하나 치면 문제 없음
구글링 ㄱ - dc App