Spaces:
Sleeping
Sleeping
# Building from source is too slow, so let's just customize the existing image | |
FROM ghcr.io/open-webui/open-webui:git-7228b39 | |
WORKDIR /app | |
USER 0:0 | |
# HACK for huggingface.co iframe | |
RUN sed -i "s|samesite=WEBUI_SESSION_COOKIE_SAME_SITE|samesite='none'|g" backend/open_webui/apps/webui/routers/auths.py | |
RUN pip install "litellm[proxy]==1.51.2" && 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" ] | |