mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #2016] [CLOSED] fix: DRY + speed up docker build #20863
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2016
Author: @akx
Created: 5/6/2024
Status: ❌ Closed
Base:
dev← Head:docker-setup-cleanup📝 Commits (1)
fc20b40fix: DRY + speed up docker build📊 Changes
2 files changed (+40 additions, -39 deletions)
View changed files
📝
Dockerfile(+3 -39)➕
backend/docker_setup.sh(+37 -0)📄 Description
Description
This PR:
RUNstatements.uvfor installing Torch as well (it's faster!)This should have no effect for the end user other than a possibly slightly smaller image.
For developers, this is easier to maintainer.
For CI and builders, this is faster.
Testing & review
I checked that an image built with and without
USE_OLLAMAworks as before.I didn't check the CUDA configuration, since I have no CUDA-enabled Docker hardware at hand right now.
Changelog Entry
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.