FROM ghcr.io/open-webui/open-webui:main RUN apt-get update && apt-get install -y python3 python3-pip RUN pip3 install --no-cache-dir huggingface_hub COPY data-sync.sh data-sync.sh RUN chmod -R 777 ./data && \ chmod -R 777 /app && \ sed -i "1r data-sync.sh" ./start.sh