From 8d6e75b6b5d3ffae28a5622257c81408096f9627 Mon Sep 17 00:00:00 2001 From: Contentrain Date: Mon, 13 Jul 2026 22:35:19 +0300 Subject: [PATCH] fix(docker): un-ignore supabase/migrations so the runtime COPY resolves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .dockerignore excluded the whole `supabase` dir, so the build stage had no supabase/migrations and the runtime COPY failed with '/app/supabase/migrations: not found'. Exclude only the Supabase local-dev assets (config/seed/snippets/templates) and keep migrations — the pg migration runner reads both postgres/migrations and supabase/migrations. --- .dockerignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 5bb6d0a8..ecd1c7d0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -14,4 +14,7 @@ tests coverage .vscode .idea -supabase +# Exclude Supabase local-dev assets (config, seed, snippets, templates) but +# KEEP migrations — the runtime image's migration runner reads them. +supabase/* +!supabase/migrations