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
improve api docker file and lock Debian version in base image tag (#2195)
Bowen Liang8639abec97dc
diff --git a/api/Dockerfile b/api/Dockerfileindex ae4f7e82bb7..b1e0292cc09 100644--- a/api/Dockerfile+++ b/api/Dockerfile@@ -1,8 +1,11 @@-# packages install stage-FROM python:3.10-slim AS base+# base image+FROM python:3.10-slim-bookworm AS baseLABEL maintainer="[email protected]"+# install packages+FROM base as packages+RUN apt-get update \&& apt-get install -y --no-install-recommends gcc g++ python3-dev libc-dev libffi-dev@@ -10,9 +13,8 @@ COPY requirements.txt /requirements.txtRUN pip install --prefix=/pkg -r requirements.txt-# build stage-FROM python:3.10-slim AS builder-+# production stage+FROM base AS productionENV FLASK_APP app.pyENV EDITION SELF_HOSTED@@ -30,11 +32,11 @@ ENV TZ UTCWORKDIR /app/apiRUN apt-get update \- && apt-get install -y --no-install-recommends bash curl wget vim nodejs ffmpeg \+ && apt-get install -y --no-install-recommends curl wget vim nodejs ffmpeg \&& apt-get autoremove \&& rm -rf /var/lib/apt/lists/*-COPY --from=base /pkg /usr/local+COPY --from=packages /pkg /usr/localCOPY . /app/api/COPY docker/entrypoint.sh /entrypoint.sh