mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
[PR #72] [CLOSED] chore: simplify container setup, drop down to node user #961
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/pocket-id/pocket-id/pull/72
Author: @kashalls
Created: 11/27/2024
Status: ❌ Closed
Base:
main← Head:nonroot📝 Commits (3)
b3d25e6chore: use included user to drop down to nonrootd008ed9chore: use included user to drop down to nonrooteea7a25chore: install additional required packages📊 Changes
2 files changed (+15 additions, -48 deletions)
View changed files
📝
Dockerfile(+15 -17)➖
scripts/docker/create-user.sh(+0 -31)📄 Description
This PR uses the pre-existing node user. I tried to make the container smaller, but due to the size of node dependencies you can only really shave off 30MiB.
To further shave off and reduce the complexity of the docker container, you would need to split each application into their each container instead of offering a "all-in-one" container.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.