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