Skip to content

Commit

Permalink
升级组件
Browse files Browse the repository at this point in the history
  • Loading branch information
myhhub committed Sep 9, 2024
1 parent 86829ef commit 095fe62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ ENV LC_ALL=C
ENV PYTHONPATH=/data/InStock
EXPOSE 9988

# 使用使用国内镜像地址加速。修改debian apt更新地址,pip地址,设置时区
# 使用国内镜像地址加速。修改debian apt更新地址,pip地址,设置时区
# https://opsx.alibaba.com/mirror
# https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
# cat /etc/apt/sources.list 参考原始地址,再确定怎么样替换
# 安装 依赖库
# 安装依赖库
# apt-get autoremove -y 删除没有用的依赖lib
# apt-get --purge remove 软件包名称 , 删除已安装包(不保留配置文件)
RUN sed -i "s@http://\(deb\|security\).debian.org@https://mirrors.aliyun.com@g" /etc/apt/sources.list && \
Expand Down

0 comments on commit 095fe62

Please sign in to comment.