From 562611e0ca413efe86e5d83a4a2cfb085d223264 Mon Sep 17 00:00:00 2001 From: Kosmos Date: Tue, 25 Aug 2026 12:13:01 +0000 Subject: [PATCH] Use the standard Docker build cache --- .dockerignore | 1 - .gitignore | 1 - README.md | 10 +++------- compose.yaml | 4 ---- 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3a29682..19409d0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ upstream/HubBackend/.git -.build-cache .venv* build dist diff --git a/.gitignore b/.gitignore index b744393..77e8131 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .env -.build-cache/ config/config.json data/* !data/.gitignore diff --git a/README.md b/README.md index c10b59c..a975d62 100644 --- a/README.md +++ b/README.md @@ -99,15 +99,11 @@ docker compose up -d docker compose ps ``` -The backend build exports its complete BuildKit cache to -`.build-cache/backend`. This directory includes the intermediate Nuitka build -layers. Keep it to reuse the compiled result after Docker removes its internal -build cache. The directory can be large and is excluded from Git and the Docker -build context. - The Python builder image is pinned to a tested image digest. Update this digest deliberately when the compiler environment needs an update. A runtime base -image update does not invalidate the Nuitka build layer. +image update does not invalidate the Nuitka build layer. Docker reuses its +normal internal build cache. A complete build is necessary after that cache is +removed. By default, the API is available at `http://localhost:17777/api`. Swagger UI is available at `http://localhost:17777/api/doc`. diff --git a/compose.yaml b/compose.yaml index c672409..15baad2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -55,10 +55,6 @@ services: backend: build: context: . - cache_from: - - type=local,src=.build-cache/backend - cache_to: - - type=local,dest=.build-cache/backend,mode=max restart: unless-stopped environment: TRUST_HOST_PROXY: "1"