mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 03:01:06 +03:00
Chore/docker file non root (#5479)
* update dockerfile * Update Dockerfile
This commit is contained in:
@@ -34,6 +34,9 @@ COPY . .
|
||||
RUN pnpm install && \
|
||||
pnpm build
|
||||
|
||||
# Give the node user ownership of the application files
|
||||
RUN chown -R node:node .
|
||||
|
||||
# Switch to non-root user (node user already exists in node:20-alpine)
|
||||
USER node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user