소스 검색

updated requirements.txt filename in docker

avinash.b 1 년 전
부모
커밋
ada61d977d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      Business_cards/Dockerfile

+ 2
- 1
Business_cards/Dockerfile 파일 보기

@@ -8,7 +8,8 @@ WORKDIR /opt/bussinesscards
8 8
 COPY . .
9 9
 
10 10
 # Install any needed packages specified in requirements.txt
11
-RUN pip install --no-cache-dir -r requirement.txt
11
+RUN apt update && apt install -y libgl1-mesa-glx && apt --fix-broken install && \
12
+    pip install --no-cache-dir -r requirement.txt
12 13
 
13 14
 # Make port 80 available to the world outside this container
14 15
 EXPOSE 1112

Loading…
취소
저장