2026-05-08 07:03:44 UTC
1.5 GB
/opt/app-root
APP_WEB_URLhttp://127.0.0.1:3000
BASH_ENV/opt/app-root/bin/activate
CNB_GROUP_ID0
CNB_STACK_IDcom.redhat.stacks.ubi9-python-312
CNB_USER_ID1001
COMMIT_SHA CONSOLE_API_URLhttp://127.0.0.1:5001
CONSOLE_WEB_URLhttp://127.0.0.1:3000
DEPLOY_ENVPRODUCTION
DESCRIPTIONPython 3.12 available as container is a base platform for building and running various Python 3.12 applications and frameworks. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
EDITIONSELF_HOSTED
ENV/opt/app-root/bin/activate
FLASK_APPapp.py
HOME/opt/app-root/src
LANGC.UTF-8
LC_ALLC.UTF-8
NLTK_DATA/usr/local/share/nltk_data
NODEJS_VER22
PATH/app/api/.venv/bin:/opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIP_NO_CACHE_DIRoff
PLATFORMel9
PROMPT_COMMAND. /opt/app-root/bin/activate
PYTHONIOENCODINGutf-8
PYTHONUNBUFFERED1
PYTHON_VERSION3.12
SERVICE_API_URLhttp://127.0.0.1:5001
STI_SCRIPTS_PATH/usr/libexec/s2i
STI_SCRIPTS_URLimage:///usr/libexec/s2i
SUMMARYPlatform for building and running Python 3.12 applications
TIKTOKEN_CACHE_DIR/app/api/.tiktoken_cache
TZUTC
UV_VERSION0.8.9
VIRTUAL_ENV/app/api/.venv
containeroci
[#000] sha256:2cd37bfa55522989640b93952edcb17a717454b3735b59e5644987d179dde040 - 4.97% (76.3 MB)
[#001] sha256:f7db5374f6e675b6041777681d128e77efce1fcc80ba77316c708b1ff3667045 - 1.08% (16.6 MB)
[#002] sha256:e2ab12080d2c73d93703e255294036cabb5b94165f58db334c348dd8513e9a1d - 14.16% (217 MB)
[#003] sha256:41604cc3b4ac47a9024c517f364407bcfb68215072c3992d8ace9b322d8ae959 - 4.37% (67 MB)
[#004] sha256:2d15badef255ebf26e0ec136e83b0429dcd06b2bad3be73bf6b16be9317dbfd9 - 0.0% (110 Bytes)
[#005] sha256:81ba449f33deb35ccd10ad0720b5877f68ebce93cdeb416ab3aeffd74d4d274c - 1.23% (18.9 MB)
[#006] sha256:ffa96b474cc6672760e5080d62238aef5cf5920367cea2da22fbaba2b39a40e8 - 0.86% (13.1 MB)
[#007] sha256:f5a86b79fb43eb09dd3205304f8e24ee962100937bf2fb3b7372f1913c144bfb - 0.0% (116 Bytes)
[#008] sha256:0fc5e2199762793b9744a3e26c6511549ebf0ea3930ae6af804e5931bf3cf8a8 - 33.44% (513 MB)
[#009] sha256:77a2a865510d98fb8e5d9ef8332b4475751c3f00e0e891393feb03cae2df3596 - 33.44% (513 MB)
[#010] sha256:fd8fb7646be9196622d98e731490f6d3704d5bf61f0af891418b7da6d40ad1dc - 2.21% (34 MB)
[#011] sha256:9c1e2c8aa586ba451e5030defdc10961cfa0fc1648f7afdda18b53a04ef6e97d - 0.45% (6.94 MB)
[#012] sha256:e1c5d6ef5ff8a6f1f3d32bba8bae54e4f9ccdd2f3ab9196d967f21df0259b617 - 0.0% (2.05 KB)
[#013] sha256:9a18c83abc46fa1cf9ce687a6421d36c380bbb825d0966345fd0d65b2ca2e499 - 0.0% (5.1 KB)
[#014] sha256:13417d5416aa55cabfb6896c7b5bdbf60fa05e8c82f5dbad45cfb7c3e280ef65 - 2.1% (32.2 MB)
[#015] sha256:57ac994a3a02eecb6ebaa9b30c4f2c650ac42dbae80c42e3cbacc8bbce256707 - 0.73% (11.1 MB)
[#016] sha256:f02f3910df2cb949d2b0e4cbeb4c893736b9115b8896591bdd624bddd4c959bc - 0.95% (14.6 MB)
[#017] sha256:80913c13225a2bc5d4959bde30882ea2a1dab9a655cb4a88e1c105b6212a337d - 0.0% (1.89 KB)
[#018] sha256:f613eb002d00b7cd1f38a043922367fccb0ba488946ffb5404d84d4af697da9b - 0.0% (1.3 KB)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc."
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9/ubi" version="9.7" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
2026-05-04 01:29:14 UTC/bin/sh -c #(nop) ENV container oci
2026-05-04 01:29:15 UTC/bin/sh -c #(nop) COPY dir:f08649008d15dafeaabab68b951f22e658a20420393739c92b747dcf5813ce50 in /
2026-05-04 01:29:15 UTC/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
2026-05-04 01:29:15 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-05-04 01:29:16 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
2026-05-04 01:29:16 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
2026-05-04 01:29:16 UTC/bin/sh -c #(nop) COPY file:65abd8439e27eedea5bcc58481d92c12f7fcc409a15f0bb6f26c2384019a91cd in /usr/share/buildinfo/labels.json
2026-05-04 01:29:16 UTC/bin/sh -c #(nop) COPY file:65abd8439e27eedea5bcc58481d92c12f7fcc409a15f0bb6f26c2384019a91cd in /root/buildinfo/labels.json
2026-05-04 01:29:17 UTC/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="210756810c5bcc9339b481b4d7aa9ed135ea803d" "org.opencontainers.image.revision"="210756810c5bcc9339b481b4d7aa9ed135ea803d" "build-date"="2026-05-04T01:29:00Z" "org.opencontainers.image.created"="2026-05-04T01:29:00Z" "release"="1777858048"org.opencontainers.image.revision=210756810c5bcc9339b481b4d7aa9ed135ea803d,org.opencontainers.image.created=2026-05-04T01:29:00Z
2026-05-04 07:03:16 UTC (FROM registry.access.redhat.com/ubi9:9.7-1777858048)/bin/sh -c #(nop) ENV SUMMARY="Base image which allows using of source-to-image." DESCRIPTION="The s2i-core image provides any images layered on top of it with all the tools needed to use source-to-image functionality while keeping the image size as small as possible."
2026-05-04 07:03:16 UTC/bin/sh -c #(nop) LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="s2i core" io.openshift.s2i.scripts-url=image:///usr/libexec/s2i io.s2i.scripts-url=image:///usr/libexec/s2i io.openshift.tags="s2i-core rhel9" com.redhat.component="s2i-core-container" name="ubi9/s2i-core" version="1" com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-05-04 07:03:16 UTC/bin/sh -c #(nop) ENV STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PLATFORM="el9"
2026-05-04 07:03:19 UTC/bin/sh -c . /cachi2/cachi2.env && INSTALL_PKGS="bsdtar findutils groff-base glibc-locale-source glibc-langpack-en gettext rsync scl-utils tar unzip xz yum" && mkdir -p ${HOME}/.pki/nssdb && chown -R 1001:0 ${HOME}/.pki && yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && yum -y clean all --enablerepo='*'
2026-05-04 07:03:19 UTC/bin/sh -c #(nop) COPY dir:37f69665f54a97126cf208f9b880bfe35cb36cd94584f2ef77bb38008a7055bf in /
2026-05-04 07:03:19 UTC/bin/sh -c #(nop) WORKDIR ${HOME}
2026-05-04 07:03:19 UTC/bin/sh -c #(nop) ENTRYPOINT ["container-entrypoint"]
2026-05-04 07:03:19 UTC/bin/sh -c #(nop) CMD ["base-usage"]
2026-05-04 07:03:20 UTC/bin/sh -c . /cachi2/cachi2.env && rpm-file-permissions && useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default && chown -R 1001:0 ${APP_ROOT}
2026-05-04 07:03:20 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
2026-05-04 07:03:20 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
2026-05-04 07:03:21 UTC/bin/sh -c #(nop) COPY file:76a8b30c988251b329c95e5ee0c7ea958781df878d5025c71250515a28e334c2 in /usr/share/buildinfo/labels.json
2026-05-04 07:03:21 UTC/bin/sh -c #(nop) COPY file:76a8b30c988251b329c95e5ee0c7ea958781df878d5025c71250515a28e334c2 in /root/buildinfo/labels.json
2026-05-04 07:03:22 UTC/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="6efbae2186dbf32cd8777e573855f367b7e4598b" "org.opencontainers.image.revision"="6efbae2186dbf32cd8777e573855f367b7e4598b" "build-date"="2026-05-04T07:03:16Z" "org.opencontainers.image.created"="2026-05-04T07:03:16Z" "release"="1777878168"org.opencontainers.image.revision=6efbae2186dbf32cd8777e573855f367b7e4598b,org.opencontainers.image.created=2026-05-04T07:03:16Z
2026-05-05 05:29:16 UTC (FROM registry.access.redhat.com/ubi9/s2i-core:9.7-1777878168)/bin/sh -c #(nop) ENV SUMMARY="Base image with essential libraries and tools used as a base for builder images like perl, python, ruby, etc." DESCRIPTION="The s2i-base image, being built upon s2i-core, provides any images layered on top of it with all the tools needed to use source-to-image functionality. Additionally, s2i-base also contains various libraries needed for it to serve as a base for other builder images, like s2i-python or s2i-ruby." NODEJS_VER=22
2026-05-05 05:29:16 UTC/bin/sh -c #(nop) LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="s2i base" io.openshift.tags="s2i-base rhel9" com.redhat.component="s2i-base-container" name="ubi9/s2i-base" version="1" com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-05-05 05:29:37 UTC/bin/sh -c . /cachi2/cachi2.env && yum -y module enable nodejs:$NODEJS_VER && INSTALL_PKGS="autoconf automake bzip2 gcc-c++ gd-devel gdb git libcurl-devel libpq-devel libxml2-devel libxslt-devel lsof make mariadb-connector-c-devel openssl-devel patch procps-ng npm redhat-rpm-config sqlite-devel unzip wget which zlib-devel" && yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && rpm -V $INSTALL_PKGS && node -v | grep -qe "^v$NODEJS_VER\." && echo "Found VERSION $NODEJS_VER" && yum -y clean all --enablerepo='*'
2026-05-05 05:29:37 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
2026-05-05 05:29:37 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
2026-05-05 05:29:38 UTC/bin/sh -c #(nop) COPY file:35f90f4fff40c3730cb87705e166c01308ccb3b34bde0c6c1dbbf317991bae89 in /usr/share/buildinfo/labels.json
2026-05-05 05:29:38 UTC/bin/sh -c #(nop) COPY file:35f90f4fff40c3730cb87705e166c01308ccb3b34bde0c6c1dbbf317991bae89 in /root/buildinfo/labels.json
2026-05-05 05:29:41 UTC/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="9f104b60271134fca386c991d4ecc25cfb2a9883" "org.opencontainers.image.revision"="9f104b60271134fca386c991d4ecc25cfb2a9883" "build-date"="2026-05-05T05:29:16Z" "org.opencontainers.image.created"="2026-05-05T05:29:16Z" "release"="1777958832"org.opencontainers.image.revision=9f104b60271134fca386c991d4ecc25cfb2a9883,org.opencontainers.image.created=2026-05-05T05:29:16Z
2026-05-05 17:04:45 UTC (FROM registry.access.redhat.com/ubi9/s2i-base:9.7-1777958832)/bin/sh -c #(nop) EXPOSE 8080
2026-05-05 17:04:45 UTC/bin/sh -c #(nop) ENV PYTHON_VERSION=3.12 PATH=$HOME/.local/bin/:$PATH PYTHONUNBUFFERED=1 PYTHONIOENCODING=UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 CNB_STACK_ID=com.redhat.stacks.ubi9-python-312 CNB_USER_ID=1001 CNB_GROUP_ID=0 PIP_NO_CACHE_DIR=off
2026-05-05 17:04:45 UTC/bin/sh -c #(nop) ENV SUMMARY="Platform for building and running Python $PYTHON_VERSION applications" DESCRIPTION="Python $PYTHON_VERSION available as container is a base platform for building and running various Python $PYTHON_VERSION applications and frameworks. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms."
2026-05-05 17:04:45 UTC/bin/sh -c #(nop) LABEL summary="$SUMMARY" description="$DESCRIPTION" io.k8s.description="$DESCRIPTION" io.k8s.display-name="Python 3.12" io.openshift.expose-services="8080:http" io.openshift.tags="builder,python,python312,python-312,rh-python312" com.redhat.component="python-312-container" name="ubi9/python-312" usage="s2i build https://github.com/sclorg/s2i-python-container.git --context-dir=3.12/test/setup-test-app/ ubi9/python-312 python-sample-app" com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" io.buildpacks.stack.id="com.redhat.stacks.ubi9-python-312" maintainer="SoftwareCollections.org <sclorg@redhat.com>"
2026-05-05 17:04:52 UTC/bin/sh -c . /cachi2/cachi2.env && INSTALL_PKGS="python3.12 python3.12-devel python3.12-pip nss_wrapper-libs httpd httpd-devel mod_ssl mod_auth_gssapi mod_ldap mod_session atlas-devel gcc-gfortran libffi-devel libtool-ltdl enchant krb5-devel" && yum -y --setopt=tsflags=nodocs install $INSTALL_PKGS && rpm -V $INSTALL_PKGS && rpm -e --nodeps redhat-logos-httpd && yum -y clean all --enablerepo='*'
2026-05-05 17:04:52 UTC/bin/sh -c #(nop) COPY dir:851be25afe52bd8ef20d258e6b0d9d848ffd6a669f4b391bd13124fa68050daa in $STI_SCRIPTS_PATH
2026-05-05 17:04:52 UTC/bin/sh -c #(nop) COPY dir:851ff819c34c4510f6fe3bc235ac21a2eb3466a1a2f10ccd9fe44ff2c249850a in /
2026-05-05 17:04:53 UTC/bin/sh -c #(nop) COPY dir:208155bc9054883784c7146928dd201221f759e227e3fb517c26e7336c745994 in /opt/wheels
2026-05-05 17:04:57 UTC/bin/sh -c . /cachi2/cachi2.env && python3.12 -m venv ${APP_ROOT} && ${APP_ROOT}/bin/pip install /opt/wheels/pip-* && rm -r /opt/wheels && chown -R 1001:0 ${APP_ROOT} && fix-permissions ${APP_ROOT} -P && rpm-file-permissions && echo "unset BASH_ENV PROMPT_COMMAND ENV" >> ${APP_ROOT}/bin/activate
2026-05-05 17:04:57 UTC/bin/sh -c #(nop) ENV BASH_ENV="${APP_ROOT}/bin/activate" ENV="${APP_ROOT}/bin/activate" PROMPT_COMMAND=". ${APP_ROOT}/bin/activate"
2026-05-05 17:04:57 UTC/bin/sh -c #(nop) USER 1001
2026-05-05 17:04:57 UTC/bin/sh -c #(nop) CMD $STI_SCRIPTS_PATH/usage
2026-05-05 17:04:58 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
2026-05-05 17:04:58 UTC/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
2026-05-05 17:04:58 UTC/bin/sh -c #(nop) COPY file:11a96e2ed4472d32dbe6d447bdeea1d244394009ee6971c2fe87335827cac74f in /usr/share/buildinfo/labels.json
2026-05-05 17:04:58 UTC/bin/sh -c #(nop) COPY file:11a96e2ed4472d32dbe6d447bdeea1d244394009ee6971c2fe87335827cac74f in /root/buildinfo/labels.json
2026-05-05 17:05:00 UTC/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="50a9bb827cd0372e9f1ba75c7eb054d8ab3e8a65" "org.opencontainers.image.revision"="50a9bb827cd0372e9f1ba75c7eb054d8ab3e8a65" "build-date"="2026-05-05T17:04:44Z" "org.opencontainers.image.created"="2026-05-05T17:04:44Z" "release"="1778000623"org.opencontainers.image.revision=50a9bb827cd0372e9f1ba75c7eb054d8ab3e8a65,org.opencontainers.image.created=2026-05-05T17:04:44Z
2026-05-08 07:02:12 UTC (buildkit.dockerfile.v0)WORKDIR /app/api
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV UV_VERSION=0.8.9
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c pip install --no-cache-dir uv==${UV_VERSION} # buildkit
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)USER 0
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ARG VERSION=3.9.1
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ARG RELEASE=202605081459
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ARG dify_uid=1001
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)LABEL name=dify-ee-api maintainer=LangGenius <enterprise@dify.ai> vendor=LangGenius, Inc. version=3.9.1 release=202605081459 summary=Dify Enterprise API server description=Core API server for Dify Enterprise.
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV FLASK_APP=app.py
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV EDITION=SELF_HOSTED
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV DEPLOY_ENV=PRODUCTION
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV CONSOLE_API_URL=http://127.0.0.1:5001
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV CONSOLE_WEB_URL=http://127.0.0.1:3000
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV SERVICE_API_URL=http://127.0.0.1:5001
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV APP_WEB_URL=http://127.0.0.1:3000
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV TZ=UTC
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV LC_ALL=C.UTF-8
2026-05-08 07:02:13 UTC (buildkit.dockerfile.v0)ENV PYTHONIOENCODING=utf-8
2026-05-08 07:02:21 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c dnf install -y ca-certificates fontconfig gnupg2 gmp-devel mpfr-devel libmpc-devel mailcap file-libs && dnf module install -y nodejs:22/minimal && dnf clean all # buildkit
2026-05-08 07:02:21 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c mkdir -p /app/api && chown -R ${dify_uid}:0 /app && chgrp -R 0 /app && chmod -R g=u /app # buildkit
2026-05-08 07:02:21 UTC (buildkit.dockerfile.v0)ENV VIRTUAL_ENV=/app/api/.venv
2026-05-08 07:02:56 UTC (buildkit.dockerfile.v0)COPY /app/api/.venv /app/api/.venv # buildkit
2026-05-08 07:02:56 UTC (buildkit.dockerfile.v0)ENV PATH=/app/api/.venv/bin:/opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-05-08 07:03:17 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c chown -R ${dify_uid}:0 ${VIRTUAL_ENV} && chgrp -R 0 ${VIRTUAL_ENV} && chmod -R g=u ${VIRTUAL_ENV} # buildkit
2026-05-08 07:03:19 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c mkdir -p /usr/local/share/nltk_data && NLTK_DATA=/usr/local/share/nltk_data python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger'); nltk.download('stopwords')" && chmod -R 755 /usr/local/share/nltk_data # buildkit
2026-05-08 07:03:19 UTC (buildkit.dockerfile.v0)COPY .ee-redhat-assets/dify-api/fonts/ /usr/share/fonts/noto-cjk/ # buildkit
2026-05-08 07:03:19 UTC (buildkit.dockerfile.v0)COPY .ee-redhat-assets/dify-api/licenses/ /licenses/third-party/ # buildkit
2026-05-08 07:03:20 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c fc-cache -f # buildkit
2026-05-08 07:03:20 UTC (buildkit.dockerfile.v0)ENV TIKTOKEN_CACHE_DIR=/app/api/.tiktoken_cache
2026-05-08 07:03:21 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c mkdir -p ${TIKTOKEN_CACHE_DIR} && python -c "import tiktoken; tiktoken.encoding_for_model('gpt2')" && chgrp -R 0 ${TIKTOKEN_CACHE_DIR} /usr/local/share/nltk_data && chmod -R g=u ${TIKTOKEN_CACHE_DIR} /usr/local/share/nltk_data # buildkit
2026-05-08 07:03:21 UTC (buildkit.dockerfile.v0)COPY . /app/api/ # buildkit
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)RUN |3 VERSION=3.9.1 RELEASE=202605081459 dify_uid=1001 /bin/sh -c chown -R ${dify_uid}:0 /app/api && chgrp -R 0 /app/api && chmod -R g=u /app/api # buildkit
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)COPY --chmod=755 docker/entrypoint.sh /entrypoint.sh # buildkit
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)COPY .licenses/ /licenses/ # buildkit
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)ARG COMMIT_SHA
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)ENV COMMIT_SHA=
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)ENV NLTK_DATA=/usr/local/share/nltk_data
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)EXPOSE [5001/tcp]
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)USER 1001
2026-05-08 07:03:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/bin/bash" "/entrypoint.sh"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.