FROM ghcr.io/open-webui/open-webui:latest # 复制自定义CSS和JS文件 COPY editor.css /app/build/assets/ COPY editor.js /app/build/assets/ # 在标签前添加custom.css引用 RUN sed -i 's|||' /app/build/index.html && \ sed -i 's|||' /app/build/index.html RUN chmod -R 777 ./data RUN chmod -R 777 /app/backend/open_webui/static