镜像构建历史
# 2026-10-08 11:41:19 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/app/entrypoint.sh"]
# 2026-10-08 11:41:19 0.00B 指定检查容器健康状态的命令
HEALTHCHECK {Test:[CMD-SHELL python /app/healthcheck.py] Interval:30s Timeout:10s StartPeriod:1m0s StartInterval:0s Retries:3}
# 2026-10-08 11:41:19 0.00B 声明容器运行时监听的端口
EXPOSE [3782/tcp 8001/tcp]
# 2026-10-08 11:41:19 370.00B 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /app/healthcheck.py <<'EOF'
from pathlib import Path
import json
import urllib.request
port = 8001
settings_path = Path("/app/data/user/settings/system.json")
try:
settings = json.loads(settings_path.read_text(encoding="utf-8"))
port = int(settings.get("backend_port") or port)
except Exception:
pass
urllib.request.urlopen(f"http://localhost:{port}/health/ready", timeout=5).close()
EOF # buildkit
# 2026-10-08 11:41:19 7.40KB 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's/\r$//' /app/entrypoint.sh && chmod +x /app/entrypoint.sh # buildkit
# 2026-10-08 11:41:19 7.40KB 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /app/entrypoint.sh <<'EOF'
#!/bin/bash
set -e
echo "============================================"
echo "🚀 Starting DeepTutor"
echo "============================================"
export DEEPTUTOR_IGNORE_PROCESS_ENV_OVERRIDES=1
# Docker is JSON-driven. Ignore runtime env names even if the host or a stale
# Compose environment provides them; the entrypoint re-exports values from
# data/user/settings/*.json below.
for key in \
BACKEND_PORT \
BACKEND_WORKERS \
DEEPTUTOR_BACKEND_WORKERS \
FRONTEND_PORT \
NEXT_PUBLIC_API_BASE_EXTERNAL \
NEXT_PUBLIC_API_BASE \
CORS_ORIGIN \
CORS_ORIGINS \
DISABLE_SSL_VERIFY \
CHAT_ATTACHMENT_DIR \
AUTH_ENABLED \
NEXT_PUBLIC_AUTH_ENABLED \
AUTH_USERNAME \
AUTH_PASSWORD_HASH \
AUTH_TOKEN_EXPIRE_HOURS \
AUTH_COOKIE_SECURE \
POCKETBASE_URL \
POCKETBASE_PORT \
POCKETBASE_EXTERNAL_URL \
POCKETBASE_ADMIN_EMAIL \
POCKETBASE_ADMIN_PASSWORD \
DEEPTUTOR_API_BASE_URL \
DEEPTUTOR_AUTH_ENABLED; do
unset "$key"
done
# Runtime user for supervisord children (`user=deeptutor`). Default 1000:1000
# matches ordinary Docker and rootless keep-id. Unraid/NAS bind mounts are
# often owned by another host user that *reverts* in-container chown; set
# PUID/PGID to that owner instead of running the app as root.
PUID="${PUID:-${DEEPTUTOR_PUID:-1000}}"
PGID="${PGID:-${DEEPTUTOR_PGID:-1000}}"
export PUID PGID
if [ "$(id -u)" -eq 0 ]; then
case "$PUID$PGID" in
''|*[!0-9]*)
echo "❌ PUID and PGID must be non-root integers (got PUID=${PUID} PGID=${PGID})"
exit 1
;;
esac
if [ "$PUID" -eq 0 ] || [ "$PGID" -eq 0 ]; then
echo "❌ PUID/PGID must be non-root so the app does not run as root (got PUID=${PUID} PGID=${PGID})"
exit 1
fi
echo "👤 Runtime user deeptutor → uid=${PUID} gid=${PGID}"
if [ "$(id -g deeptutor)" != "$PGID" ]; then
if getent group "$PGID" >/dev/null 2>&1; then
usermod -g "$PGID" deeptutor
else
groupmod -o -g "$PGID" deeptutor
fi
fi
if [ "$(id -u deeptutor)" != "$PUID" ]; then
usermod -o -u "$PUID" deeptutor
fi
else
echo "👤 Rootless runtime uid=$(id -u) gid=$(id -g); skipping PUID remap"
fi
# Initialize user data directories if empty
echo "📁 Checking data directories..."
echo " Ensuring runtime settings and workspace layout..."
python -c "
from pathlib import Path
from deeptutor.services.setup import init_user_directories
init_user_directories(Path('/app'))
" || echo " ⚠️ Directory initialization failed (volume writability check follows)"
# Re-chown /app/data to the (possibly remapped) deeptutor user. Named Docker
# volumes are typically root-owned and need this. Bind mounts on Unraid/NFS
# often reject chown and keep the host owner — do NOT swallow that with
# `|| true`; warn and let the writability probe fail-fast if the runtime
# user still cannot write.
if [ "$(id -u)" -eq 0 ]; then
if chown -R deeptutor:deeptutor /app/data; then
echo " ✅ /app/data owned by deeptutor (uid=${PUID} gid=${PGID})"
else
echo " ⚠️ chown /app/data failed (common on Unraid/NFS bind mounts that reject ownership changes)."
echo " The app will run as uid=${PUID} gid=${PGID}; the volume must already be writable by that user."
echo " Set PUID/PGID to the host owner of the bind mount rather than running as root."
fi
else
echo " Skipping chown under rootless runtime"
fi
echo "📁 Verifying /app/data is writable by the runtime user..."
python -c "from deeptutor.services.setup.data_volume import check_container_data_volume; check_container_data_volume()"
# Optional dependencies (#762). A container is disposable, so anything
# `docker exec … pip install`ed into a running one is gone at the next
# `compose down`. Declare them on the deployment instead and every container
# started from it has them:
#
# environment:
# DEEPTUTOR_EXTRAS: "math-animator,partners"
# DEEPTUTOR_APT_PACKAGES: "ffmpeg"
#
# Both steps are idempotent — a warm container only pays a check — and neither
# is allowed to be fatal: a missing wheel leaves that one feature unavailable,
# exactly as it was before, rather than taking the whole deployment down.
# The pip cache lives on the data volume so a rebuild reuses the downloads it
# already paid for instead of fetching them again.
export PIP_CACHE_DIR="${PIP_CACHE_DIR:-/app/data/.cache/pip}"
mkdir -p "$PIP_CACHE_DIR" 2>/dev/null || true
if [ -n "${DEEPTUTOR_APT_PACKAGES:-}" ]; then
echo "🔧 Ensuring system packages: ${DEEPTUTOR_APT_PACKAGES}"
apt_missing=""
for pkg in $(echo "${DEEPTUTOR_APT_PACKAGES}" | tr ',' ' '); do
dpkg -s "$pkg" >/dev/null 2>&1 || apt_missing="$apt_missing $pkg"
done
if [ -z "$apt_missing" ]; then
echo " ✅ System packages already present"
elif ! (apt-get update -qq && apt-get install -y --no-install-recommends $apt_missing); then
echo " ⚠️ apt-get failed; these packages stay unavailable:$apt_missing"
fi
fi
if [ -n "${DEEPTUTOR_EXTRAS:-}" ]; then
echo "🔧 Ensuring Python extras: ${DEEPTUTOR_EXTRAS}"
python /app/scripts/install_extras.py "${DEEPTUTOR_EXTRAS}" || true
if [ "$(id -u)" -eq 0 ]; then
if ! chown -R deeptutor:deeptutor "$PIP_CACHE_DIR"; then
echo " ⚠️ chown pip cache failed; continuing if the runtime user can still write it"
fi
fi
fi
echo "⚙️ Loading runtime JSON settings..."
eval "$(python - <<'PY'
import shlex
from deeptutor.services.config import export_runtime_settings_to_env
for key, value in export_runtime_settings_to_env(overwrite=True).items():
print(f"export {key}={shlex.quote(str(value))}")
PY
)"
export BACKEND_PORT=${BACKEND_PORT:-8001}
export FRONTEND_PORT=${FRONTEND_PORT:-3782}
# DEEPTUTOR_API_BASE_URL and DEEPTUTOR_AUTH_ENABLED are exported by the
# export_runtime_settings_to_env eval above (see render_environment in
# deeptutor/services/config/runtime_settings.py). web/proxy.ts reads them at
# request time to rewrite /api/* and /ws/* to the backend and to gate the login
# redirect. Keeping them in the single JSON-backed exporter means the Docker and
# `deeptutor start` paths stay in sync.
echo "📌 API Base URL (proxy): ${DEEPTUTOR_API_BASE_URL:-http://localhost:${BACKEND_PORT}}"
echo "📌 Auth enabled: ${DEEPTUTOR_AUTH_ENABLED:-false}"
echo "📌 Backend Port: ${BACKEND_PORT}"
echo "📌 Frontend Port: ${FRONTEND_PORT}"
echo "============================================"
echo "📦 Configuration loaded from:"
echo " - data/user/settings/system.json"
echo " - data/user/settings/auth.json"
echo " - data/user/settings/integrations.json"
echo " - data/user/settings/model_catalog.json"
echo " - data/user/settings/main.yaml"
echo " - data/user/settings/agents.yaml"
echo "============================================"
# Hand off to supervisord as PID 1. The daemon-level config deliberately omits
# `user=` so supervisord inherits PID 1's UID and stays portable across rootful
# and rootless-keep-id runtimes; children drop to the deeptutor user via
# per-program `user=`. Full rationale lives next to the [supervisord] section
# in the build step that writes /etc/supervisor/supervisord.conf.
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
EOF # buildkit
# 2026-10-08 11:41:19 278.00B 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's/\r$//' /app/start-frontend.sh && chmod +x /app/start-frontend.sh # buildkit
# 2026-10-08 11:41:19 278.00B 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /app/start-frontend.sh <<'EOF'
#!/bin/bash
set -e
FRONTEND_PORT=${FRONTEND_PORT:-3782}
FRONTEND_HOST=${FRONTEND_HOST:-0.0.0.0}
echo "[Frontend] 🚀 Starting Next.js frontend on ${FRONTEND_HOST}:${FRONTEND_PORT}..."
export PORT=${FRONTEND_PORT}
export HOSTNAME=${FRONTEND_HOST}
exec node /app/web/server.js
EOF # buildkit
# 2026-10-08 11:41:19 1.69KB 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's/\r$//' /app/start-backend.sh && chmod +x /app/start-backend.sh # buildkit
# 2026-10-08 11:41:19 1.69KB 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /app/start-backend.sh <<'EOF'
#!/bin/bash
set -e
BACKEND_PORT=${BACKEND_PORT:-8001}
BACKEND_HOST=${BACKEND_HOST:-0.0.0.0}
BACKEND_WORKERS=${BACKEND_WORKERS:-1}
echo "[Backend] 🚀 Starting FastAPI backend on ${BACKEND_HOST}:${BACKEND_PORT}..."
# Run uvicorn directly - the application's logging system already handles:
# 1. Console output (visible in docker logs)
# 2. File logging to data/user/logs/ai_tutor_*.log
#
# BACKEND_HOST defaults to 0.0.0.0 (LAN-reachable, matches bridge-mode
# port publishing). Set BACKEND_HOST=127.0.0.1 when running with
# network_mode: host to keep the backend on loopback only.
#
# --ws-max-size: chat attachments travel base64 inside one WS message; derive
# the frame cap from the configured attachment policy (system.json) so uploads
# the policy allows are not severed by uvicorn's 16MB default.
#
# --timeout-keep-alive: the frontend proxy (web/proxy.ts) forwards over Node's
# http.globalAgent, which reaps idle sockets on a 5s timer — identical to
# uvicorn's default, so both ends raced to close the same socket and the loser's
# request died with ECONNRESET (a 500 in the UI). Stay well above the proxy's
# reaper so the client is the only side retiring idle connections.
WS_MAX_SIZE=$(python -c "from deeptutor.services.config import get_ws_max_size; print(get_ws_max_size())" 2>/dev/null || echo 16777216)
KEEP_ALIVE=$(python -c "from deeptutor.services.config import HTTP_KEEP_ALIVE_TIMEOUT; print(HTTP_KEEP_ALIVE_TIMEOUT)" 2>/dev/null || echo 300)
exec python -m uvicorn deeptutor.api.main:app --host ${BACKEND_HOST} --port ${BACKEND_PORT} --workers ${BACKEND_WORKERS} --no-access-log --no-proxy-headers --ws-max-size ${WS_MAX_SIZE} --timeout-keep-alive ${KEEP_ALIVE}
EOF # buildkit
# 2026-10-08 11:41:19 548.00B 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's/\r$//' /etc/supervisor/conf.d/programs.conf # buildkit
# 2026-10-08 11:41:18 548.00B 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /etc/supervisor/conf.d/programs.conf <<'EOF'
[program:backend]
command=/bin/bash /app/start-backend.sh
directory=/app
user=deeptutor
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
environment=PYTHONPATH="/app",PYTHONUNBUFFERED="1"
[program:frontend]
command=/bin/bash /app/start-frontend.sh
directory=/app/web
user=deeptutor
autostart=true
autorestart=true
startsecs=5
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
environment=NODE_ENV="production"
EOF # buildkit
# 2026-10-08 11:41:18 150.00B 执行命令并创建新的镜像层
RUN /bin/sh -c sed -i 's/\r$//' /etc/supervisor/supervisord.conf # buildkit
# 2026-10-08 11:41:18 150.00B 执行命令并创建新的镜像层
RUN /bin/sh -c cat > /etc/supervisor/supervisord.conf <<'EOF'
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
[include]
files = /etc/supervisor/conf.d/programs.conf
EOF # buildkit
# 2026-10-08 11:41:18 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /etc/supervisor/conf.d # buildkit
# 2026-10-08 11:41:18 37.27MB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --system --gid 1000 deeptutor && useradd --system --uid 1000 --gid 1000 --no-create-home --shell /usr/sbin/nologin deeptutor && chown -R deeptutor:deeptutor /app/data /app/web/.next # buildkit
# 2026-10-08 11:41:17 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p data/user/settings data/memory data/user/workspace/memory data/user/workspace/notebook data/user/workspace/co-writer/audio data/user/workspace/co-writer/tool_calls data/user/workspace/chat/chat data/user/workspace/chat/deep_solve data/user/workspace/chat/deep_question data/user/workspace/chat/deep_research/reports data/user/workspace/chat/math_animator data/user/workspace/chat/_detached_exec data/user/logs data/knowledge_bases # buildkit
# 2026-10-08 11:41:17 1.02KB 复制新文件或目录到容器中
COPY requirements.txt ./ # buildkit
# 2026-10-08 11:41:17 8.12KB 复制新文件或目录到容器中
COPY requirements/ ./requirements/ # buildkit
# 2026-10-08 11:41:17 19.67KB 复制新文件或目录到容器中
COPY pyproject.toml ./ # buildkit
# 2026-10-08 11:41:17 85.11KB 复制新文件或目录到容器中
COPY scripts/ ./scripts/ # buildkit
# 2026-10-08 11:41:17 253.35KB 复制新文件或目录到容器中
COPY deeptutor_cli/ ./deeptutor_cli/ # buildkit
# 2026-10-08 11:41:17 12.05MB 复制新文件或目录到容器中
COPY deeptutor/ ./deeptutor/ # buildkit
# 2026-10-08 11:41:17 2.73MB 复制新文件或目录到容器中
COPY /app/web/public/ ./web/public/ # buildkit
# 2026-10-08 11:41:16 17.17MB 复制新文件或目录到容器中
COPY /app/web/.next/static/ ./web/.next/static/ # buildkit
# 2026-10-08 11:41:16 100.65MB 复制新文件或目录到容器中
COPY /app/web/.next/standalone/ ./web/ # buildkit
# 2026-10-08 11:39:23 79.91KB 复制新文件或目录到容器中
COPY /usr/local/bin /usr/local/bin # buildkit
# 2026-10-08 11:39:22 879.90MB 复制新文件或目录到容器中
COPY /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages # buildkit
# 2026-10-08 11:37:45 236.95KB 执行命令并创建新的镜像层
RUN /bin/sh -c ln -sf /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -sf /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && node --version && npm --version # buildkit
# 2026-10-08 11:37:44 11.52MB 复制新文件或目录到容器中
COPY /usr/local/lib/node_modules /usr/local/lib/node_modules # buildkit
# 2026-10-08 11:37:44 124.83MB 复制新文件或目录到容器中
COPY /usr/local/bin/node /usr/local/bin/node # buildkit
# 2026-10-08 11:37:44 909.38MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl ca-certificates bash git supervisor libgl1 libglib2.0-0 libsm6 libxext6 libxrender1 libreoffice-writer libreoffice-calc libreoffice-impress fonts-noto-cjk fonts-liberation && rm -rf /var/lib/apt/lists/* # buildkit
# 2026-10-08 11:36:29 0.00B 设置工作目录为/app
WORKDIR /app
# 2026-10-08 11:36:29 0.00B 设置环境变量 PYTHONDONTWRITEBYTECODE PYTHONUNBUFFERED PYTHONIOENCODING MALLOC_ARENA_MAX MALLOC_TRIM_THRESHOLD_ NODE_ENV DEEPTUTOR_IGNORE_PROCESS_ENV_OVERRIDES
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PYTHONIOENCODING=utf-8 MALLOC_ARENA_MAX=2 MALLOC_TRIM_THRESHOLD_=131072 NODE_ENV=production DEEPTUTOR_IGNORE_PROCESS_ENV_OVERRIDES=1
# 2026-10-08 11:36:29 0.00B 添加元数据标签
LABEL maintainer=DeepTutor Team description=DeepTutor: AI-Powered Personalized Learning Assistant
# 2026-10-06 10:04:46 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2026-10-06 10:04:46 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
# 2026-10-06 10:04:46 42.44MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ 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.3' ; pip3 --version # buildkit
# 2026-10-06 09:56:16 0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599
# 2026-10-06 09:56:16 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.11.17
# 2026-10-06 09:56:16 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
# 2026-10-06 09:56:16 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
# 2026-10-06 09:56:16 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2026-10-06 09:56:16 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2026-10-05 08:00:00 78.82MB
# debian.sh --arch 'amd64' out/ 'trixie' '@1791158400'
镜像信息
{
"Id": "sha256:b983d04c39ec84dfbe4759b6f62dbcd3a9b97e1b4091c0aa406f94040d9b65ca",
"RepoTags": [
"ghcr.io/hkuds/deeptutor:1.6.14",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/hkuds/deeptutor:1.6.14"
],
"RepoDigests": [
"ghcr.io/hkuds/deeptutor@sha256:74fd46c6a55b85f2a1ac294978cc7bac6b1f6d2fe2ed71a44db141688676e08a",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/hkuds/deeptutor@sha256:48444984e0afd6ead8852bebb6ca3066619cc69cd709318ce00f9949d5d4db5f"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-10-08T03:41:19.681312921Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3782/tcp": {},
"8001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/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.17",
"PYTHON_SHA256=bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da11599",
"PYTHONDONTWRITEBYTECODE=1",
"PYTHONUNBUFFERED=1",
"PYTHONIOENCODING=utf-8",
"MALLOC_ARENA_MAX=2",
"MALLOC_TRIM_THRESHOLD_=131072",
"NODE_ENV=production",
"DEEPTUTOR_IGNORE_PROCESS_ENV_OVERRIDES=1"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"python /app/healthcheck.py"
],
"Interval": 30000000000,
"Timeout": 10000000000,
"StartPeriod": 60000000000,
"Retries": 3
},
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": [
"/app/entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"description": "DeepTutor: AI-Powered Personalized Learning Assistant",
"maintainer": "DeepTutor Team",
"org.opencontainers.image.created": "2026-10-08T03:36:22.494Z",
"org.opencontainers.image.description": "DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.",
"org.opencontainers.image.licenses": "Apache-2.0",
"org.opencontainers.image.revision": "6cf793bd868ba5ecbe64722936d4be8fab5a01df",
"org.opencontainers.image.source": "https://github.com/HKUDS/DeepTutor",
"org.opencontainers.image.title": "DeepTutor",
"org.opencontainers.image.url": "https://github.com/HKUDS/DeepTutor",
"org.opencontainers.image.version": "1.6.14"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 2221282252,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/771f7b2555ae71ff29f93fd64cc8afa10d917ea81f2355321dbcd4e148b0106d/diff:/var/lib/docker/overlay2/18efee02bfbcbbcbb3d29f4749447406af12a339ecc65677d76c389dc82e26d4/diff:/var/lib/docker/overlay2/bcb1c218cddd2a780ded540a6c2a83dc5dac9498bdcfe9d807b453e174a41f77/diff:/var/lib/docker/overlay2/b1117cf8067da8542d1d37dba5fefcaa11233da1fc1aa2a93b1f8cff238eb9b9/diff:/var/lib/docker/overlay2/e5afd2ba13d1f09ebc9c406e7c4a83842647d3f7c6c13d33abe6badfa96e3379/diff:/var/lib/docker/overlay2/d52583b108cc1b02c0852b80f8f8ecaf92996db87ce312ac50899e402c510ea5/diff:/var/lib/docker/overlay2/fc3a5ac88b81c4d463e0c0934027d0406bb70ca2d437b920c2151ec6b13ec7a9/diff:/var/lib/docker/overlay2/3813b32769b959f50a19311eac691649c5ac228b92815f978492b65f513a7abf/diff:/var/lib/docker/overlay2/fb5ee47d3e2c2aa5ed83a745b2b4b9dbcc26deede027aef4c451ed7473a74fc8/diff:/var/lib/docker/overlay2/ce0866b7ce3fb15f58823384e13c03ac9640fc762d0dcc426bf25c1c1e58606f/diff:/var/lib/docker/overlay2/f247c7ba733d769c7948d1d9610dd091259875c11c02079b8631c5de731d285f/diff:/var/lib/docker/overlay2/0441c897e917ac0050c4480c68dee3c02ba3a53de5d18938a739f777574ad2be/diff:/var/lib/docker/overlay2/0c5a7f87770c3a8fd5362e1b011517ae1f1bf6e79ee6f2fe15e5ec8061fcf3ad/diff:/var/lib/docker/overlay2/3984031e2669e7371a0b33c094bc7ff746a8eb2fa24ad1f155503df820082588/diff:/var/lib/docker/overlay2/9a4209de929934f55196d913c04f45d6d6254bfe6d973e13daaaa8f004707841/diff:/var/lib/docker/overlay2/8aa8fe684ed8cebe7e4d7ed833081ba4cc17dc0e7aa167907ee3f73bf02ca138/diff:/var/lib/docker/overlay2/552dfc61afeb97713687d2695728046dcec5405c3a63fec59393a649e3e82ead/diff:/var/lib/docker/overlay2/b9ce9bcdfb42ba00b7aee6a777b3c05f4b425cc348b173e9c760ec536881e1b5/diff:/var/lib/docker/overlay2/ea141a330b76be7f1b6a4bc0e39c31c34c94ff9eb34ace20fe712b9e9752687c/diff:/var/lib/docker/overlay2/f7576fd84b5f4d4a7301d6dce7d216eaf7890f945378b615f8942d367fd03431/diff:/var/lib/docker/overlay2/bd7a2399c9f7a6b2bfa2e4f31ee3920918324a8e41c9a909307bf4d1c03461cf/diff:/var/lib/docker/overlay2/9ea12ded26d6a75b8f71725fb247d4434c96bf40b3bf9bfa2b5aeb1d9ba012cc/diff:/var/lib/docker/overlay2/70f8dd2f81b46aab7c50b5cd2b9be8cfe9afbcd6cb9c454ad347c6c2e973abfb/diff:/var/lib/docker/overlay2/443d854289561db54c28c7746c51abe0180a1f8633df4b2dc8b38d2bf7a8df83/diff:/var/lib/docker/overlay2/ceee5bd70f074945a7cb69feb24cae30e9251abcec5bc126b22e850df023373f/diff:/var/lib/docker/overlay2/0b6872cdcfd62d7e293d492de80f2c8e31f5166f8aeacc5aed654cdebf0ecd8e/diff:/var/lib/docker/overlay2/1cfe5112d2615d11aeec7d0024c9b1da2073b2de01e3ad3bfb8aec17a0802631/diff:/var/lib/docker/overlay2/e24dc0825cefd3891acae66537202f96e6f54c11c742fc251ad351865e7a93a5/diff:/var/lib/docker/overlay2/32cf66adc37ad684c5b94488e36f06a427ade9cea8d9683c4b12d3ed5a1e8279/diff:/var/lib/docker/overlay2/f0ed9fe7afd36348451fb2d74226547683c26880ea4197411c064723c6cd6959/diff:/var/lib/docker/overlay2/452a80e18ca89bec68cd5c8711e69ab15b6e8e5c87d2e15bcaa18638c5bc55af/diff:/var/lib/docker/overlay2/36a66aaae0e8ce43dd43572136542ffb48017e8e6f11613f4836048f87a0a0f1/diff:/var/lib/docker/overlay2/62bdc9ebfd322c5c09a76f4813bf876edc59cde42b304a9a04f01ab5e9cf1c16/diff",
"MergedDir": "/var/lib/docker/overlay2/4a7a257606ead1b7285f9804ba5f49a1ce51afe63d760df47e82781dccdbb5dd/merged",
"UpperDir": "/var/lib/docker/overlay2/4a7a257606ead1b7285f9804ba5f49a1ce51afe63d760df47e82781dccdbb5dd/diff",
"WorkDir": "/var/lib/docker/overlay2/4a7a257606ead1b7285f9804ba5f49a1ce51afe63d760df47e82781dccdbb5dd/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:15f1c8eb1ab18eae260c7fb6296434cbe1ff0e1e30fd814ae92a80dd54005e62",
"sha256:56864e09c37360dbf846cf5ac9fc3090034f02e382fd0fbe4c7b576207436200",
"sha256:ba18d048b43a42f86dc288babadbdfe01602571200fd60c9e172deb8abf4147f",
"sha256:020f37c339b9fc549a11bcc5a937b81e3500281270bb62edde29022b27919d86",
"sha256:9f1fbef984aac74ff607b901f30cfb48d72abfac1ba83c67cf3a0037222739f1",
"sha256:7d1db213463fc54401ffb0ab38fc581cf78323436e0e9b2948003d306f865a36",
"sha256:737b17f8dc4b04cdea1674c41256e0bd09db8bb23aae86180685f582d7626621",
"sha256:ced2494e97e35019da7257262e41875d56fc9a2121652a2046c30ed3c9a99356",
"sha256:7838398552b2270c985ee6a437121bcd1a2873089bcd6522777933bf6c4184ba",
"sha256:2939074cd299ec2af441061a361517b4951f7cfa4973bca50eab0bdb49ca2871",
"sha256:1d82db26d51db26314b0eb3012f44f8712431cadfafd412270e93c00cb2d4a4b",
"sha256:32374e48c710ad03828b16996d5ae71eb64d3e5ecfbdfc476439fbb926b7e928",
"sha256:74a7a2cb4cdba0eefd332a5876390d9a3ead6427790170a3ecf4d59a247a8b07",
"sha256:f9c7c7dde2238b9411c56a52b1e9cec063c9d61cf59271da1372c97bbd97a00d",
"sha256:1bb461de0069780f183a1116fd14109712376decc1e7a824686ab4ac9ee516ee",
"sha256:4c9b6e590975a0046ce9abb3151aeb982ee0028765908559f633717942924164",
"sha256:161a5c4d2fd3d1221efc5c055acf2dc771f7c506c9066d4584b20fac5c273c59",
"sha256:265b8f749a65714e2c22584177c25501a5e79b8becd8fda78854a666c2f89be7",
"sha256:f7676c5aa9f1fa05774c623f6d2a83eda98af24ebcd23e23bd9f4dd5dc6eb637",
"sha256:b31190a46a8eb9ed70ec62abf77b95b86105be12a2a046a6342b616b251dc394",
"sha256:71fd1a5cac91b220979e5b1e2c042140762e9512965a55401e694c6c0233cd81",
"sha256:2ef52f809e7c656adffe4f2c562a6d85eec0b952c0acffa0edee093e8dfe4d9c",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:15e5c4b7c00bdfe40a6e74fa1dcdd6c53e965992a89de52539530c2e746e493f",
"sha256:fc0fe8d3377b3ce9ef2ec9f97e7b04409250e206810602455bac37799801c6be",
"sha256:0827ba06a1f8009603290b7f2780c5897d4205d00645482467f53407f878e7ac",
"sha256:a6a51dadc12023dce9666bdfe88219b646d7c7bd00b7b6e6ee8e82741f7d1fe4",
"sha256:c29f893e9218ca16bc857217da5b76b68870fb0190af826100fe393b9bb7288d",
"sha256:250f9620cc7350515691a2c28fcb5c297670dbcbf7038f9aad55d327060988fa",
"sha256:84db8c41a8d627df27fa354ac64bafebed8235a53910393b3e99581a220d700c",
"sha256:4ec7eaf4f123d57fe0f61692c52c24647763b429efd17b75e895de7a9ff7eff9",
"sha256:e94b04e0815caa68586de3880e2c80e6d1caedb173d9f67302b725f601525f87",
"sha256:758f1753787666f44f970377610b431f3f6abe55823b665446ca2a381019f820",
"sha256:da65333b7dde330b6a7ccf310b159eedafb2e1801110796841afc34675ec9ed4"
]
},
"Metadata": {
"LastTagTime": "2026-10-17T11:02:28.90514558+08:00"
}
}