Skip to content

fix(docker): set the runtime home directory for node - #6704

Open
Soundcreates wants to merge 1 commit into
FlowiseAI:mainfrom
Soundcreates:bugfix/docker-home-directory
Open

fix(docker): set the runtime home directory for node#6704
Soundcreates wants to merge 1 commit into
FlowiseAI:mainfrom
Soundcreates:bugfix/docker-home-directory

Conversation

@Soundcreates

Copy link
Copy Markdown

Fixes #6691


The container runs Flowise as the non-root node user, but Node's home directory can remain rooted at /root in image/runtime configurations. Set HOME explicitly to /home/node in the main, packaged, and worker Docker images so the default ~/.flowise data path resolves to a writable runtime location.

Tests: checked all three Dockerfiles for the runtime HOME setting and ran git diff --check.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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.

v3.1.4 giving Error during Data Source initialization: EACCES: permission denied, mkdir '/root/.flowise'

1 participant