BG5 commited on
Commit
be96286
·
verified ·
1 Parent(s): 98ccb2a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -7,8 +7,10 @@ ENV TZ=Asia/Shanghai
7
  WORKDIR /code
8
  COPY . .
9
  EXPOSE 7860
 
10
  RUN chmod +x webmininstall.sh
11
  RUN sh webmininstall.sh
 
12
  # 安装所需的软件包并清理APT缓存
13
  RUN apt-get update && apt-get install -y \
14
  wget \
 
7
  WORKDIR /code
8
  COPY . .
9
  EXPOSE 7860
10
+ RUN rm -rf /var/lib/apt/lists/*
11
  RUN chmod +x webmininstall.sh
12
  RUN sh webmininstall.sh
13
+ RUN apt-get update
14
  # 安装所需的软件包并清理APT缓存
15
  RUN apt-get update && apt-get install -y \
16
  wget \