Spaces:
Running
Running
# Building from source is too slow, so let's just customize the existing image | |
FROM ghcr.io/open-webui/open-webui:git-b72150c | |
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/routers/auths.py | |
RUN pip install "litellm[proxy]==1.59.9" && chown -R 1000:0 /app | |
USER 1000:0 | |
COPY ./generated /assets/ | |
COPY ./start.sh /start.sh | |
CMD [ "bash", "/start.sh" ] | |