# 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 ./start.sh /start.sh CMD [ "bash", "/start.sh" ]