mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 05:01:07 +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 && \
|
RUN pnpm install && \
|
||||||
pnpm build
|
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)
|
# Switch to non-root user (node user already exists in node:20-alpine)
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user