File size: 425 Bytes
9c7758e
 
 
 
 
1264c2a
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM ghcr.io/open-webui/open-webui:main-ollama
RUN apt-get update && apt-get install -yqq --no-install-recommends \
    git python3 python3-pip coreutils socat \
 && rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
COPY hf_sync.sh hf_sync.sh
RUN chmod +x hf_sync.sh

RUN \
    chmod -R 777 ./data && \
    chmod -R 777 ./open_webui && \
    sed -i "1r hf_sync.sh" ./start.sh