BG5 commited on
Commit
22ddbb9
·
verified ·
1 Parent(s): afec5c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -8,6 +8,7 @@ WORKDIR /code
8
  COPY . .
9
  EXPOSE 7860
10
  RUN chmod +x install.sh
 
11
  # 安装所需的软件包并清理APT缓存
12
  RUN apt-get update && apt-get install -y \
13
  wget \
@@ -23,9 +24,9 @@ RUN apt-get update && apt-get install -y \
23
  gnupg \
24
  util-linux \
25
  sqlite3 \
26
- tzdata
 
27
  # 下载并执行 install.sh 脚本
28
- RUN wget -o webmin-setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repos.sh && sh webmin-setup-repos.sh
29
  # 同时运行 python main.py 和 bash install.sh
30
  # RUN python main.py & \
31
  # bash quick_start.sh
 
8
  COPY . .
9
  EXPOSE 7860
10
  RUN chmod +x install.sh
11
+ RUN bash install.sh
12
  # 安装所需的软件包并清理APT缓存
13
  RUN apt-get update && apt-get install -y \
14
  wget \
 
24
  gnupg \
25
  util-linux \
26
  sqlite3 \
27
+ tzdata \
28
+ webmin
29
  # 下载并执行 install.sh 脚本
 
30
  # 同时运行 python main.py 和 bash install.sh
31
  # RUN python main.py & \
32
  # bash quick_start.sh