mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 18:35:13 +00:00
Add dummy DATABASE_URL for asset precompile in Docker build
This commit is contained in:
parent
5f72eed549
commit
222c71471e
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue