Skip to content

Add non-root user for Docker container#3801

Open
champ24-36 wants to merge 1 commit intolm-sys:mainfrom
champ24-36:bot-fix-1773512745050
Open

Add non-root user for Docker container#3801
champ24-36 wants to merge 1 commit intolm-sys:mainfrom
champ24-36:bot-fix-1773512745050

Conversation

@champ24-36
Copy link

This PR adds a non-root user to the Docker container to improve security. Running processes as root inside a container is generally discouraged.

Changes:

  • Added a user fastchat with a specific UID/GID.
  • Changed the user to fastchat for subsequent commands.
  • Ensured necessary directories are owned by the fastchat user.

Contributed via automated PR bot

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.

1 participant