aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-24 03:28:27 +0100
committerGravatar Joe Banks <[email protected]>2024-08-24 03:28:27 +0100
commitd596209fd9dbc18e45db6936a0a89d5b7973fe33 (patch)
tree39ac4c98b60d602e1b463e02b7346a4f17251df9 /Dockerfile
parentUse correct command to build theme (diff)
Explicitly set postgresql driver
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 40dde4f..1624d98 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,6 +13,7 @@ RUN pnpm run build-keycloak-theme
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} as builder
WORKDIR /opt/keycloak
COPY --from=keycloakify_jar_builder /opt/app/dist_keycloak/keycloak-theme-for-kc-22-and-above.jar /opt/keycloak/providers/
+ENV KC_DB=postgres
RUN /opt/keycloak/bin/kc.sh build
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}