Namespace
langgenius
Image / Tag
dify-api:a3aba7a9aae7e866eed7fafa366a63e17d1ecec0
Content Digest
sha256:bb34ebfa919fbde5707bfaedc1ade579909671c5917e73241fa9b970bc4b06a1
Details
Created

2023-08-22 05:50:39 UTC

Size

875 MB

Content Digest
Labels
  • maintainer
    takatost@gmail.com
  • org.opencontainers.image.created
    2023-08-22T05:49:24.850Z
  • org.opencontainers.image.description
    One API for plugins and datasets, one interface for prompt engineering and visual operation, all for creating powerful AI applications.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    a3aba7a9aae7e866eed7fafa366a63e17d1ecec0
  • 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_API_URL

http://127.0.0.1:5001

APP_WEB_URL

http://127.0.0.1:3000

COMMIT_SHA

a3aba7a9aae7e866eed7fafa366a63e17d1ecec0

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

45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.12

SERVICE_API_URL

http://127.0.0.1:5001


Layers

[#000] sha256:52d2b7f179e32b4cbd579ee3c4958027988f9a8274850ab0c7c24661e3adaac5 - 3.17% (27.8 MB)

[#001] sha256:2b8a9a2240c1224b34f6aafbc3310f9a3fe65bd6893050906d02e89fc8326aa9 - 0.38% (3.34 MB)

[#002] sha256:618a49bbc6c68a58b082ceb072a9464370d0203a55c70e9cfc16caf6c3c8f383 - 1.9% (16.6 MB)

[#003] sha256:708d13076071a7b9fb3eefb4a360636911b7d83b3bb1939165eb3d0136f4aa84 - 0.0% (243 Bytes)

[#004] sha256:90b76fc2ebde9ad1526763819788ed8ea1817179c0520cd9e5e9362bc6b35155 - 0.37% (3.21 MB)

[#005] sha256:2d5c9fecaccd2dc8f8fede9b90e03afbdc02d794a8199a4ad9ad23d1820d5e68 - 0.0% (110 Bytes)

[#006] sha256:369f686e44df02fcc7a02da3079d9b00f02c4f35a3282021b90e2ae6d0a1ffc6 - 17.82% (156 MB)

[#007] sha256:48a3459fab73c277ed7bd42360dfb24d93702c1201929fb70a45d377490e4de6 - 0.0% (751 Bytes)

[#008] sha256:5033d747c29f1623237abe53d749513dfd56752481a4723bf99b33c8d03f5050 - 76.31% (668 MB)

[#009] sha256:0704cbf322e6c9ce85d2ecd37273d586cda284364053d30a706eddef75c027af - 0.05% (436 KB)

[#010] sha256:33f4a4668658ae808b0cc1e2a189a56e2dfd615252895ca3422b8f2d7c093fb5 - 0.0% (502 Bytes)

[#011] sha256:b05cf5800cc55a5ef80d1f1ec16e0e64331452b774d736f4e1c6bdb4de962a33 - 0.0% (502 Bytes)


History
2023-08-16 00:59:46 UTC

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

2023-08-16 00:59:47 UTC

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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-07-22 09:49:12 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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.12

2023-07-22 09:49:12 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); print 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

2023-07-22 09:49:12 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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe

2023-07-22 09:49:12 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

2023-07-22 09:49:12 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

LABEL maintainer=takatost@gmail.com

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV FLASK_APP=app.py

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV EDITION=SELF_HOSTED

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV DEPLOY_ENV=PRODUCTION

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_API_URL=http://127.0.0.1:5001

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV CONSOLE_WEB_URL=http://127.0.0.1:3000

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV SERVICE_API_URL=http://127.0.0.1:5001

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV APP_API_URL=http://127.0.0.1:5001

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

ENV APP_WEB_URL=http://127.0.0.1:3000

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

EXPOSE map[5001/tcp:{}]

2023-08-22 05:40:24 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2023-08-22 05:40:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y bash curl wget vim gcc g++ python3-dev libc-dev libffi-dev nodejs # buildkit

2023-08-22 05:40:45 UTC (buildkit.dockerfile.v0)

COPY requirements.txt /app/api/requirements.txt # buildkit

2023-08-22 05:42:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install -r requirements.txt # buildkit

2023-08-22 05:50:39 UTC (buildkit.dockerfile.v0)

COPY . /app/api/ # buildkit

2023-08-22 05:50:39 UTC (buildkit.dockerfile.v0)

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

2023-08-22 05:50:39 UTC (buildkit.dockerfile.v0)

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

2023-08-22 05:50:39 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2023-08-22 05:50:39 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=a3aba7a9aae7e866eed7fafa366a63e17d1ecec0

2023-08-22 05:50:39 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