docker : build the UI#24794
Conversation
|
Publishing new images: https://github.com/ggml-org/llama.cpp/actions/runs/27828808113 |
|
Thank you all involved |
|
seems like one of the build fails because the native module is not available on that platform: https://github.com/ggml-org/llama.cpp/actions/runs/27828808113/job/82360189883
for details: this is because some node modules use native code (usually in c++ / go / rust / etc), so the pre-built package should be available for that platform, which doesn't seem to be the case for s390x |
A better solution is perhaps to build UI (once) before the Docker images and copy the artifact into each image? |
|
I thought about that but then it doesn't make the Dockerfiles stand-alone if one wanted to build them directly. Seems it's the only option. The s390x build was the only one I couldn't test in my own repo. |
|
another option is to disable lightningcss on the vite/svelte build, not I'm not 100% if that is a configurable option |
Hm, true, let's leave the others as-is and do this for |
Absorbs PRs ggml-org#24821 ggml-org#24796 ggml-org#24779 ggml-org#24817 ggml-org#23168 ggml-org#24787 ggml-org#24801 ggml-org#24794 ggml-webgpu F16 toggles, server router/agent refactor, cpp-httplib 0.48.0, utf8 windows fix, docker UI build. No conflicts with our custom backends.
* docker : build the UI * cont : use existing APP_VERSION
* docker : build the UI * cont : use existing APP_VERSION

Overview
Fixes #24726 by building the UI separately.
Requirements