Added the option --no-cache-dir to the pip3 install commands on the Dockerfile to reduce the docker image resulting size to 1.89 GB from 2.27 GB.
Tested this on Docker Desktop under Windows.
This is my first PR! Eager to learn and help! 😊
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/461
**Author:** [@djismgaming](https://github.com/djismgaming)
**Created:** 1/12/2024
**Status:** ✅ Merged
**Merged:** 1/13/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `main` ← **Head:** `optimization/reduce-image-size`
---
### 📝 Commits (1)
- [`141afb4`](https://github.com/open-webui/open-webui/commit/141afb4c204562522e866514e68676fa744ac6ab) reduce image size
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `Dockerfile` (+2 -2)
</details>
### 📄 Description
Added the option `--no-cache-dir` to the `pip3 install` commands on the Dockerfile to reduce the docker image resulting size to 1.89 GB from 2.27 GB.
Tested this on Docker Desktop under Windows.
This is my first PR! Eager to learn and help! 😊
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/461
Author: @djismgaming
Created: 1/12/2024
Status: ✅ Merged
Merged: 1/13/2024
Merged by: @tjbck
Base:
main← Head:optimization/reduce-image-size📝 Commits (1)
141afb4reduce image size📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
Dockerfile(+2 -2)📄 Description
Added the option
--no-cache-dirto thepip3 installcommands on the Dockerfile to reduce the docker image resulting size to 1.89 GB from 2.27 GB.Tested this on Docker Desktop under Windows.
This is my first PR! Eager to learn and help! 😊
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.