By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
removed unused packages and reduced image size from 1,35G to 1,26G
simplified Dockerfile by using npm run
fix ARG issue by moving the ARGs for the label to the runner stage
removed dep type prod and dev from gomod Dependabot because they are not available for gomod
Maybe there is more potential to reduce image size, by removing redundant packages, for example:
js-yaml -> yaml
moment -> date-fns
Will check this later
🔄 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/fosrl/pangolin/pull/2330
**Author:** [@Lokowitz](https://github.com/Lokowitz)
**Created:** 1/25/2026
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `remove-unused`
---
### 📝 Commits (7)
- [`d96df0a`](https://github.com/fosrl/pangolin/commit/d96df0ac081be3e8039911c795f94fa0b3af4110) removed unused packages
- [`34cec89`](https://github.com/fosrl/pangolin/commit/34cec89b272c8fafe00460f39ef608b55556cfc5) cleanup dockerfile
- [`faf894b`](https://github.com/fosrl/pangolin/commit/faf894bd0b4bb78a31f97ba7d1db2a5c135ab572) add back package.json
- [`700233b`](https://github.com/fosrl/pangolin/commit/700233bddbaa2ecb42f4134aa2867ce84be162bc) fix args in dockerfile
- [`4860de6`](https://github.com/fosrl/pangolin/commit/4860de6ae6cde5354d78c43ca5ab3d330b7663f6) simplified dependabot config
- [`7c76f83`](https://github.com/fosrl/pangolin/commit/7c76f8385f14412cd108961efd30edaa6debddbe) Merge remote-tracking branch 'upstream/dev' into remove-unused
- [`f31d947`](https://github.com/fosrl/pangolin/commit/f31d947cd745de604b2ec052ddee44c8f8926ccf) set node to 24, simplify toploader
### 📊 Changes
**9 files changed** (+279 additions, -4951 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/dependabot.yml` (+2 -12)
📝 `.github/workflows/linting.yml` (+2 -2)
📝 `.github/workflows/test.yml` (+1 -7)
📝 `Dockerfile` (+18 -39)
📝 `Dockerfile.dev` (+3 -1)
📝 `package-lock.json` (+243 -4838)
📝 `package.json` (+2 -12)
📝 `src/app/globals.css` (+0 -4)
📝 `src/components/Toploader.tsx` (+8 -36)
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
1. removed unused packages and reduced image size from 1,35G to 1,26G
2. simplified Dockerfile by using npm run
3. fix ARG issue by moving the ARGs for the label to the runner stage
4. removed dep type prod and dev from gomod Dependabot because they are not available for gomod
Maybe there is more potential to reduce image size, by removing redundant packages, for example:
- js-yaml -> yaml
- moment -> date-fns
Will check this later
---
<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/fosrl/pangolin/pull/2330
Author: @Lokowitz
Created: 1/25/2026
Status: ❌ Closed
Base:
dev← Head:remove-unused📝 Commits (7)
d96df0aremoved unused packages34cec89cleanup dockerfilefaf894badd back package.json700233bfix args in dockerfile4860de6simplified dependabot config7c76f83Merge remote-tracking branch 'upstream/dev' into remove-unusedf31d947set node to 24, simplify toploader📊 Changes
9 files changed (+279 additions, -4951 deletions)
View changed files
📝
.github/dependabot.yml(+2 -12)📝
.github/workflows/linting.yml(+2 -2)📝
.github/workflows/test.yml(+1 -7)📝
Dockerfile(+18 -39)📝
Dockerfile.dev(+3 -1)📝
package-lock.json(+243 -4838)📝
package.json(+2 -12)📝
src/app/globals.css(+0 -4)📝
src/components/Toploader.tsx(+8 -36)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Maybe there is more potential to reduce image size, by removing redundant packages, for example:
Will check this later
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.