浏览代码

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
 COPY . .
8
 COPY . .
9
 
9
 
10
 # Install any needed packages specified in requirements.txt
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
 # Make port 80 available to the world outside this container
14
 # Make port 80 available to the world outside this container
14
 EXPOSE 1112
15
 EXPOSE 1112

正在加载...
取消
保存