Skip to content

Conversation

@DaMandal0rian
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances Docker container security by introducing a non-root user for running the application, addressing a common container security best practice. The changes ensure that the application runs with limited privileges rather than as root, reducing the attack surface.

  • Adds a dedicated oracle user with UID/GID 1000 for running the application
  • Transfers ownership of all application files and directories to the oracle user
  • Switches the container runtime context from root to the oracle user

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 22, 2025 23:43
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DaMandal0rian DaMandal0rian merged commit 6835ae2 into main Nov 22, 2025
11 of 12 checks passed
@MoonBoi9001 MoonBoi9001 deleted the muhammad/fix-dockerfile-permissions branch November 22, 2025 23:46
@DaMandal0rian DaMandal0rian changed the title fix dockerfile and add non-root user fix: dockerfile and add non-root user Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants