diff --git a/Makefile b/Makefile index f563ad6..daf0230 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,11 @@ COMPOSE := docker compose +# Force BuildKit so `RUN --mount=type=cache` works everywhere (older/Linux +# Docker engines otherwise fall back to the legacy builder and fail the build). +export DOCKER_BUILDKIT := 1 +export COMPOSE_DOCKER_CLI_BUILD := 1 + .DEFAULT_GOAL := help .PHONY: help env up build rebuild down stop restart ps logs logs-api logs-webui \ sh-api sh-webui db-shell redis-cli migrate makemigration downgrade \