镜像构建历史
# 2025-11-25 13:39:54 0.00B 设置默认要执行的命令
CMD ["/app/start.sh"]
# 2025-11-25 13:39:54 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c touch .env # buildkit
# 2025-11-25 13:39:54 0.00B 设置环境变量 SERVER_BASE_URL
ENV SERVER_BASE_URL=http://localhost:8001
# 2025-11-25 13:39:54 0.00B 设置环境变量 NODE_ENV
ENV NODE_ENV=production
# 2025-11-25 13:39:54 0.00B 设置环境变量 PORT
ENV PORT=8001
# 2025-11-25 13:39:54 509.00B 执行命令并创建新的镜像层
RUN /bin/sh -c echo '#!/bin/bash\nif [ -f .env ]; then\n export $(grep -v "^#" .env | xargs -r)\nfi\n\nif [ -z "$OPENAI_API_KEY" ] || [ -z "$GOOGLE_API_KEY" ]; then\n echo "Warning: OPENAI_API_KEY and/or GOOGLE_API_KEY environment variables are not set."\n echo "These are required for DeepWiki to function properly."\n echo "You can provide them via a mounted .env file or as environment variables when running the container."\nfi\n\npython -m api.main --port ${PORT:-8001} &\nPORT=3000 HOSTNAME=0.0.0.0 node server.js &\nwait -n\nexit $?' > /app/start.sh && chmod +x /app/start.sh # buildkit
# 2025-11-25 13:39:54 0.00B 声明容器运行时监听的端口
EXPOSE [8001/tcp 3000/tcp]
# 2025-11-25 13:39:54 17.56MB 复制新文件或目录到容器中
COPY /app/.next/static ./.next/static # buildkit
# 2025-11-25 13:39:54 67.81MB 复制新文件或目录到容器中
COPY /app/.next/standalone ./ # buildkit
# 2025-11-25 13:39:53 3.31KB 复制新文件或目录到容器中
COPY /app/public ./public # buildkit
# 2025-11-25 13:38:52 702.82KB 复制新文件或目录到容器中
COPY api/ ./api/ # buildkit
# 2025-11-25 13:38:51 420.90MB 复制新文件或目录到容器中
COPY /api/.venv /opt/venv # buildkit
# 2025-11-25 13:38:51 0.00B 设置环境变量 PATH
ENV PATH=/opt/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-11-25 13:38:48 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c if [ -n "${CUSTOM_CERT_DIR}" ]; then mkdir -p /usr/local/share/ca-certificates && if [ -d "${CUSTOM_CERT_DIR}" ]; then cp -r ${CUSTOM_CERT_DIR}/* /usr/local/share/ca-certificates/ 2>/dev/null || true; update-ca-certificates; echo "Custom certificates installed successfully."; else echo "Warning: ${CUSTOM_CERT_DIR} not found. Skipping certificate installation."; fi fi # buildkit
# 2025-11-25 13:38:47 311.36MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y curl gnupg git ca-certificates && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -y nodejs && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
# 2025-11-25 13:38:23 0.00B 设置工作目录为/app
WORKDIR /app
# 2025-11-18 14:00:09 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2025-11-18 14:00:09 36.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 pip3 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
# 2025-11-18 14:00:09 42.03MB 执行命令并创建新的镜像层
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 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"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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 $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-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:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==79.0.1' 'wheel<0.46' ; pip3 --version # buildkit
# 2025-11-18 13:51:00 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78
# 2025-11-18 13:51:00 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.14
# 2025-11-18 13:51:00 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
# 2025-11-18 13:51:00 3.81MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit
# 2025-11-18 13:51:00 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2025-11-18 13:51:00 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-11-17 08:00:00 78.62MB
# debian.sh --arch 'amd64' out/ 'trixie' '@1763337600'
镜像信息
{
"Id": "sha256:4c3806b9d686a9ddb04b63de5ace121f6b62fec0f730b50d56ab1e4272c590e9",
"RepoTags": [
"ghcr.io/asyncfuncai/deepwiki-open:sha-bfd2873",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/asyncfuncai/deepwiki-open:sha-bfd2873"
],
"RepoDigests": [
"ghcr.io/asyncfuncai/deepwiki-open@sha256:a8dde49df9aec5c8e50387098a7fbca9693cf455d0c6ab9479c86cb3bcef7525",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/asyncfuncai/deepwiki-open@sha256:8fa613d25360a272cf07604a46269c076c1101135cb6ac80fe299816a2cd48f5"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-11-25T05:39:54.374793414Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3000/tcp": {},
"8001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
"PYTHON_VERSION=3.11.14",
"PYTHON_SHA256=8d3ed8ec5c88c1c95f5e558612a725450d2452813ddad5e58fdb1a53b1209b78",
"PORT=8001",
"NODE_ENV=production",
"SERVER_BASE_URL=http://localhost:8001"
],
"Cmd": [
"/app/start.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.opencontainers.image.created": "2025-11-25T05:38:17.198Z",
"org.opencontainers.image.description": "Open Source DeepWiki: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories. Join the discord: https://discord.gg/gMwThUMeme",
"org.opencontainers.image.licenses": "MIT",
"org.opencontainers.image.revision": "bfd2873c15fb32058e88df3db8b072126edc15a8",
"org.opencontainers.image.source": "https://github.com/AsyncFuncAI/deepwiki-open",
"org.opencontainers.image.title": "deepwiki-open",
"org.opencontainers.image.url": "https://github.com/AsyncFuncAI/deepwiki-open",
"org.opencontainers.image.version": "main"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 942797637,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/96f16ffc1569077845528183a6892f4a7bc35daefd1a5c35c3f2a7670753ff5c/diff:/var/lib/docker/overlay2/857f6855f8d6453a206dcb5c50097fc32645a5bcbf926a9a3fa9de5072a911cd/diff:/var/lib/docker/overlay2/1bed803e9ed99cbd9e6d9ef9f31f7bbb856190ee6f2bf4f2c2efee880eb7c2d9/diff:/var/lib/docker/overlay2/533532edb6411e9aae67e218eafca38db34d48fb492ca1275655c40954784822/diff:/var/lib/docker/overlay2/887720fc52cff59e503a2e9bb3dd264a77d2a79d3e9ddb72ef31e54abbf530f0/diff:/var/lib/docker/overlay2/298cf42172a0e1fec4ab6a69b0afed11ed7a88cedd3fc988ca7594144630a5c3/diff:/var/lib/docker/overlay2/a30d71391442a36eb93a64938f9b9608ca310760ecc17455e3a0518c3bd990c5/diff:/var/lib/docker/overlay2/a51ddce0b6eeb0ee0956bc5dcf3558966572d90a7e15fc89b30be2d05675d622/diff:/var/lib/docker/overlay2/eb8e44eddbb4fc7bffc46f08efeb377e5814878d44fc312e840bbd09e490306c/diff:/var/lib/docker/overlay2/a9258817515abb8131bdd63816e1bfb57a0625d349d47889f462789be5c13916/diff:/var/lib/docker/overlay2/a7dd0745460b09421f1ca6682c216618fd3cb693b4b45f60c197ccb2ee958559/diff:/var/lib/docker/overlay2/c254afe336c3320f107049e144ab74dfb0b4806e397c1e226b88f9c68d99f562/diff:/var/lib/docker/overlay2/d00adf6575e12ca74960f41d6ac1272c63fc6703696c336b526acde370dda7c3/diff",
"MergedDir": "/var/lib/docker/overlay2/e62076beb8c52c72f00e8dfb888eaf6366af719721021a92748dcd9377cca764/merged",
"UpperDir": "/var/lib/docker/overlay2/e62076beb8c52c72f00e8dfb888eaf6366af719721021a92748dcd9377cca764/diff",
"WorkDir": "/var/lib/docker/overlay2/e62076beb8c52c72f00e8dfb888eaf6366af719721021a92748dcd9377cca764/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:70a290c5e58b68f39496ab93a62f21b8b2ca0502e97905131838de1b39a37cbb",
"sha256:5c988eaa8862d7c47dbad9319c231ced95e8332eb55ae7bf2f399a0277d4108e",
"sha256:655ff69eb9c88a7a4e958a3364305afacdad46c6d8b60eff8496f3c0ff847541",
"sha256:720ee7aae3ad507fe389381e5c3ef68f718c9537544e299d1b3b28096fa3b4ed",
"sha256:b882dcb6198714526e96419273a377cdc4ba70fa250390ffb69697a305d55a62",
"sha256:8fbac7baefe2fef29be52baa6fee1d246bdf4ee50b10a3b238092db8a5a2371c",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:616de5b03efd1a643bcfa1b9277cb0bb741b945d3f352c434c25dfd2c53de1fb",
"sha256:a66d9df64ec5e022f27449060c43642a43fce45d01edf621d1ba2eb14943385d",
"sha256:5dc2a20cd08c92a623dafe0414144be3f3855eaf330d53ee6bb60e6f9829d368",
"sha256:07211557818cdb8da2221fc50fa789a68c116ad1b85e6ea0db1b628e50c016c0",
"sha256:28acf5c44918eef70bc19684040263ba499df423a6ef2eef8fbad70b8395b263",
"sha256:a16bd0f4754c7941f7e97fc66ebfe788aca2ba64a972e330930ae62811672646",
"sha256:9b2ed4a7fe9d18fb9620d9472321a76954d84a1a6a26b262647a7e47fbe5e8d9"
]
},
"Metadata": {
"LastTagTime": "2025-11-29T10:36:00.315955726+08:00"
}
}