Namespace
langgenius
Image / Tag
dify-api:08a5afcf9fd2055f8206501a90bea5e5d363e0b1
Content Digest
sha256:35f5b8958c00a9cb17e68c76ff0ea1d627c8a3daabe6777a9805ab3d9cfd2dea
Details
Created

2024-03-26 02:39:50 UTC

Size

546 MB

Content Digest
Labels
  • maintainer
    takatost@gmail.com
  • org.opencontainers.image.created
    2024-03-26T02:37:59.510Z
  • org.opencontainers.image.description
    An Open-Source Assistants API and GPTs alternative. Dify.AI is an LLM application development platform. It integrates the concepts of Backend as a Service and LLMOps, covering the core tech stack required for building generative AI-native applications, including a built-in RAG engine.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    08a5afcf9fd2055f8206501a90bea5e5d363e0b1
  • org.opencontainers.image.source
    https://github.com/langgenius/dify
  • org.opencontainers.image.title
    dify
  • org.opencontainers.image.url
    https://github.com/langgenius/dify
  • org.opencontainers.image.version
    main

Environment
APP_WEB_URL

http://127.0.0.1:3000

COMMIT_SHA

08a5afcf9fd2055f8206501a90bea5e5d363e0b1

CONSOLE_API_URL

http://127.0.0.1:5001

CONSOLE_WEB_URL

http://127.0.0.1:3000

DEPLOY_ENV

PRODUCTION

EDITION

SELF_HOSTED

FLASK_APP

app.py

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14

SERVICE_API_URL

http://127.0.0.1:5001

TZ

UTC


Layers

[#000] sha256:8a1e25ce7c4f75e372e9884f8f7b1bedcfe4a7a7d452eb4b0a1c7477c9a90345 - 5.09% (27.8 MB)

[#001] sha256:1103112ebfc46e01c0f35f3586e5a39c6a9ffa32c1a362d4d5f20e3783c6fdd7 - 0.61% (3.35 MB)

[#002] sha256:d155c15b75539d24fdc24f154a8a50c057d0f89e2564b4167afa5900fc3ef9a4 - 2.16% (11.8 MB)

[#003] sha256:9e59167aa400c62c07ecb07ca88c717f21f775242a3f8a4ea5d4431820638733 - 0.0% (244 Bytes)

[#004] sha256:4a654a9b63a61025342e2af648fdbe9f4ca132ac95cfb19bda20fe5fc8aeeefa - 0.59% (3.21 MB)

[#005] sha256:f646e612b0049032796615e426784330a9b4655740227503ef0c76b97ebaa8d6 - 0.0% (111 Bytes)

[#006] sha256:d4eecec0525e2c694ae72f5a3cf69f5d564a6ac57e0e5e642fd24ac9c5484e39 - 35.66% (195 MB)

[#007] sha256:9ac0096c0d9fb628a57d9badaf50e1df37071ac1cea8350af671b65ee66f989c - 54.7% (299 MB)

[#008] sha256:d37c30d0ddeebfcfc963eba21a63f94b06368eaa4bec4cd301850254f55529f3 - 1.18% (6.46 MB)

[#009] sha256:1d6a8d666932e375c69f58ff7cc6df311a05233afc3e0c1d6e55707cc5d693e5 - 0.0% (516 Bytes)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-03-12 01:21:01 UTC

/bin/sh -c #(nop) ADD file:b86ae1c7ca3586d8feedcd9ff1b2b1e8ab872caf6587618f1da689045a5d7ae4 in /

2024-03-12 01:21:01 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

LABEL maintainer=takatost@gmail.com

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV FLASK_APP=app.py

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV EDITION=SELF_HOSTED

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV DEPLOY_ENV=PRODUCTION

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_API_URL=http://127.0.0.1:5001

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_WEB_URL=http://127.0.0.1:3000

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV SERVICE_API_URL=http://127.0.0.1:5001

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV APP_WEB_URL=http://127.0.0.1:3000

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2024-03-26 02:38:05 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2024-03-26 02:38:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl wget vim nodejs ffmpeg libgmp-dev libmpfr-dev libmpc-dev && apt-get autoremove && rm -rf /var/lib/apt/lists/* # buildkit

2024-03-26 02:39:49 UTC (buildkit.dockerfile.v0)

COPY /pkg /usr/local # buildkit

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

COPY . /app/api/ # buildkit

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

COPY docker/entrypoint.sh /entrypoint.sh # buildkit

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=08a5afcf9fd2055f8206501a90bea5e5d363e0b1

2024-03-26 02:39:50 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/bin/bash" "/entrypoint.sh"]

Danger Zone
Delete Tag

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.

Delete