xjf666 commited on
Commit
1d93981
·
verified ·
1 Parent(s): d09009e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/open-webui/open-webui:main
2
+
3
+ RUN apt-get update && apt-get install -y python3 python3-pip
4
+ RUN pip3 install --no-cache-dir huggingface_hub
5
+
6
+ COPY sync_data.sh sync_data.sh
7
+
8
+ RUN chmod -R 777 ./data && \
9
+ chmod +x sync_data.sh && \
10
+ sed -i "1r sync_data.sh" ./start.sh