Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -11,10 +11,12 @@ COPY editor.css /app/build/assets/
|
|
11 |
COPY editor.js /app/build/assets/
|
12 |
|
13 |
# 在</head>标签前添加custom.css引用
|
14 |
-
|
15 |
-
|
16 |
-
sed -i 's|</head>|<link rel="stylesheet" href="assets/editor.css"></head>|' /app/build/index.html && \
|
17 |
sed -i 's|</body>|<script src="assets/editor.js"></script></body>|' /app/build/index.html
|
|
|
|
|
|
|
18 |
RUN chmod -R 777 ./data && \
|
19 |
chmod -R 777 /app/backend/open_webui/static && \
|
20 |
chmod +x sync_data.sh && \
|
|
|
11 |
COPY editor.js /app/build/assets/
|
12 |
|
13 |
# 在</head>标签前添加custom.css引用
|
14 |
+
|
15 |
+
RUN sed -i 's|</head>|<link rel="stylesheet" href="assets/editor.css"></head>|' /app/build/index.html && \
|
|
|
16 |
sed -i 's|</body>|<script src="assets/editor.js"></script></body>|' /app/build/index.html
|
17 |
+
#sed -i 's|</head>|<link rel="stylesheet" href="assets/custom.css"></head>|' /app/build/index.html && \
|
18 |
+
#sed -i 's|</body>|<script src="assets/custom.js"></script></body>|' /app/build/index.html && \
|
19 |
+
|
20 |
RUN chmod -R 777 ./data && \
|
21 |
chmod -R 777 /app/backend/open_webui/static && \
|
22 |
chmod +x sync_data.sh && \
|