File size: 482 Bytes
58058b8
1e605f7
58058b8
 
 
 
 
 
 
 
1e605f7
58058b8
 
101192b
58058b8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Building from source is too slow, so let's just customize the existing image
FROM ghcr.io/open-webui/open-webui:git-8dbac0f

WORKDIR /app

USER 0:0

# HACK for huggingface.co iframe
RUN sed -i "s|set_cookie(|set_cookie(samesite='none',secure=True,|g" backend/open_webui/apps/webui/routers/auths.py

RUN pip install "litellm[proxy]==1.47.0" && chown -R 1000:0 /app
USER 1000:0

COPY ./azure-models.txt /assets/azure-models.txt
COPY ./start.sh /start.sh
CMD [ "bash", "/start.sh" ]