#Dockerfile  这个dockrfile不是基础目录中的Dockerfile,需要在其他目录中创建
 
FROM python
RUN mkdir /code
ADD ./requirements.txt /code<br>WORKDIR /code
RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
RUN rm -f requirements.txt

相关文章:

  • 2021-12-05
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2022-01-23
  • 2022-12-23
相关资源
相似解决方案