tkgray commited on
Commit
aad2d21
·
verified ·
1 Parent(s): f04ce59

Update Dockerfile

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