xkjing commited on
Commit
fb2d22b
·
verified ·
1 Parent(s): eb9c04b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -10
Dockerfile CHANGED
@@ -1,15 +1,5 @@
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
- # 复制字体文件
4
- COPY fonts/* /app/build/assets/fonts/
5
- # 复制自定义CSS和JS文件
6
- COPY custom.css /app/build/assets/
7
- COPY custom.js /app/build/assets/
8
-
9
- # 在</head>标签前添加custom.css引用
10
- RUN sed -i 's|</head>|<link rel="stylesheet" href="assets/custom.css"></head>|' /app/build/index.html && \
11
- sed -i 's|</body>|<script src="assets/custom.js"></script></body>|' /app/build/index.html
12
-
13
  COPY sync_data.sh sync_data.sh
14
 
15
  RUN chmod -R 777 ./data && \
 
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
 
 
 
 
 
 
 
 
 
 
3
  COPY sync_data.sh sync_data.sh
4
 
5
  RUN chmod -R 777 ./data && \