Commit Graph

21 Commits

Author SHA1 Message Date
Henry Heng 366d38b861
Chore/docker file non root (#5479)
* update dockerfile

* Update Dockerfile
2025-11-15 18:09:31 +00:00
Taraka Vishnumolakala 2414057c08
feat(security): enhance file path validation and implement non-root D… (#5474)
* feat(security): enhance file path validation and implement non-root Docker user

- Validate resolved full file paths including workspace boundaries in SecureFileStore
- Resolve paths before validation in readFile and writeFile operations
- Run Docker container as non-root flowise user (uid/gid 1001)
- Apply proper file ownership and permissions for application files

Prevents path traversal attacks and follows container security best practices

* Add sensitive system directory validation and Flowise internal file protection

* Update Dockerfile to use default node user

* update validation patterns to include additional system binary directories (/usr/bin, /usr/sbin, /usr/local/bin)

* added isSafeBrowserExecutable function to validate browser executable paths for Playwright and Puppeteer loaders

---------

Co-authored-by: taraka-vishnumolakala <taraka.vishnumolakala@workday.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-11-15 15:03:01 +00:00
Saqib Ahmed 7867489727
Add curl in docker image for native healthchecks (#4170)
* Add curl in docker image for native healthchecks

Fixes this issue: https://github.com/FlowiseAI/Flowise/issues/4126

* fix: add container-native healthcheck

- Added curl utility in dockerfile
- Added healthcheck configuration in docker compose

* fix: exclude ping endpoint from logging
2025-03-14 15:24:17 +00:00
Brad 5d906e7b5c
update Dockerfile to fix broken build (increase node js memory limit) (#2898)
fix Dockerfile to fix node js mem limit
2024-07-30 01:14:51 +01:00
Henry Heng fa3d21bc30
Chore/update docker node version 20 (#2271)
update docker node version 20
2024-04-26 14:52:08 +01:00
Octavian FlowiseAI 713077381b
Fix pnpm version for CI (#2204)
Update pnpm gh action to 9.0.2
2024-04-18 03:22:53 +02:00
Octavian FlowiseAI d07bd96c7b
Pin the pnpm@8.14.0 2024-04-17 00:32:23 +02:00
Greg L 4390734854 - updated docker file to build with pnpm 2023-11-23 19:08:14 -05:00
chungyau97 41346594c6 copy paste chrome fix to root docker file 2023-07-08 19:01:11 +08:00
Henry 5e35918021 add PUPPETEER_SKIP_DOWNLOAD 2023-06-16 23:16:33 +01:00
Henry a05e9921fa add packages to Dockerfile 2023-06-14 19:38:30 +01:00
Henry Heng 971de6b1ed
Add python3 make g++
Issue - https://github.com/FlowiseAI/Flowise/issues/241
2023-06-05 21:18:40 +01:00
ewfian aa8996a982 fix build failed 2023-06-05 22:04:18 +09:00
ewfian 4e51f2a008 fix build failed 2023-06-05 21:50:33 +09:00
ewfian 7e8557fa5c fix build failed 2023-06-05 21:48:41 +09:00
ewfian 1b8ca05380 fix build failed 2023-06-05 21:40:32 +09:00
Henry 0f0d887f78 change USERNAME and PASSWORD to FLOWISE_USERNAME and FLOWISE_PASSWORD to prevent conflict with machine env variables 2023-05-27 20:23:18 +01:00
Henry 626e1b29f8 add authrorization to npx and docker installation 2023-05-27 14:32:41 +01:00
Henry 5f67ab31c3 fix docker running locally 2023-05-25 19:32:10 +01:00
Henry 88b60ab17a update Dockerfile 2023-04-10 22:54:42 +01:00
Henry 05c86ff9c5 Initial push 2023-04-06 22:17:34 +01:00