Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -15,13 +15,13 @@ RUN chmod -R 777 /app && \
|
|
15 |
chmod +x /app/sync_webuidb.sh && \
|
16 |
pip install --no-cache-dir -r /app/requirements.txt || true
|
17 |
|
18 |
-
# Ghi đè
|
19 |
RUN for file in /app/open_webui/static/*.png; do \
|
20 |
-
[ "$file" != "/app/icon.png" ] && cp /app/
|
21 |
done && \
|
22 |
for svg in /app/open_webui/static/*.svg; do \
|
23 |
png="${svg%.svg}.png"; \
|
24 |
-
[ "$png" != "/app/icon.png" ] && cp /app/
|
25 |
done
|
26 |
|
27 |
EXPOSE 7860
|
|
|
15 |
chmod +x /app/sync_webuidb.sh && \
|
16 |
pip install --no-cache-dir -r /app/requirements.txt || true
|
17 |
|
18 |
+
# Ghi đè tất cả icon trong open_webui/static bằng icon.png từ gốc
|
19 |
RUN for file in /app/open_webui/static/*.png; do \
|
20 |
+
[ "$file" != "/app/icon.png" ] && cp /app/icon.png "$file"; \
|
21 |
done && \
|
22 |
for svg in /app/open_webui/static/*.svg; do \
|
23 |
png="${svg%.svg}.png"; \
|
24 |
+
[ "$png" != "/app/icon.png" ] && cp /app/icon.png "$png"; \
|
25 |
done
|
26 |
|
27 |
EXPOSE 7860
|