Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: Improvement- use non root user for Web container (#8928)
Sergio Sacristána8b4d1ac2a17
diff --git a/web/Dockerfile b/web/Dockerfileindex 48bdb2301ad..29f7675f4af 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -46,21 +46,27 @@ ENV TZ=UTCRUN ln -s /usr/share/zoneinfo/${TZ} /etc/localtime \&& echo ${TZ} > /etc/timezone-# global runtime packages-RUN yarn global add pm2 \- && yarn cache cleanWORKDIR /app/webCOPY --from=builder /app/web/public ./publicCOPY --from=builder /app/web/.next/standalone ./COPY --from=builder /app/web/.next/static ./.next/static-COPY docker/pm2.json ./pm2.jsonCOPY docker/entrypoint.sh ./entrypoint.sh++# global runtime packages+RUN yarn global add pm2 \+ && yarn cache clean \+ && mkdir /.pm2 \+ && chown -R 1001:0 /.pm2 /app/web \+ && chmod -R g=u /.pm2 /app/web++ARG COMMIT_SHAENV COMMIT_SHA=${COMMIT_SHA}+USER 1001EXPOSE 3000ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]