소스 검색

Do not cache pip.

scossu 1 년 전
부모
커밋
b9a578f984
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -8,7 +8,7 @@ ENV _workroot "/usr/local/scriptshifter/src"
 
 WORKDIR ${_workroot}
 COPY requirements.txt ./
-RUN pip install -r requirements.txt
+RUN pip install --no-cache-dir -r requirements.txt
 
 # Remove development packages.
 RUN apt remove -y build-essential