From 222c71471e85c81aa5dd5f239bf01fcdb520254e Mon Sep 17 00:00:00 2001 From: End Date: Wed, 1 Apr 2026 20:06:31 -0700 Subject: [PATCH] Add dummy DATABASE_URL for asset precompile in Docker build --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index dcd478f..8188218 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,9 @@ ENV BUNDLE_DEPLOYMENT="1" \ # Throw-away build stage to reduce size of final image FROM base AS build +# Dummy DATABASE_URL so Rails can boot during asset precompile (no real DB needed) +ENV DATABASE_URL=postgresql://localhost/dummy + ARG LIBHEIF_VERSION=1.21.2 ARG LIBHEIF_SHA256=79996de959d28ca82ef070c382304683f5cdaf04cbe2953a74587160a3710a36 # Install packages needed to build gems