From 21dd4c0f17681fb13c5ed02835e378424f69b29c Mon Sep 17 00:00:00 2001 From: Arne Tarara Date: Fri, 19 Sep 2025 12:21:45 +0200 Subject: [PATCH] Using custom build cache in user home directory --- docker/compose.yml.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/compose.yml.example b/docker/compose.yml.example index 59e1a3c31..54c6b2cd7 100644 --- a/docker/compose.yml.example +++ b/docker/compose.yml.example @@ -54,6 +54,10 @@ services: build: context: . dockerfile: Dockerfile-gunicorn + cache_from: + - type=local,src=$HOME/.cache/buildkit-gmt/ + cache_to: + - type=local,dest=$HOME/.cache/buildkit-gmt/ container_name: green-coding-gunicorn-container init: true depends_on: