neb/servers/apoc/docker-compose.d/custom/keycloak/Dockerfile

13 lines
274 B
Text
Raw Normal View History

2023-10-20 17:32:45 +02:00
FROM quay.io/keycloak/keycloak:latest as builder
ENV KC_DB=postgres
WORKDIR /opt/keycloak
RUN /opt/keycloak/bin/kc.sh build
FROM quay.io/keycloak/keycloak:latest
COPY --from=builder /opt/keycloak/ /opt/keycloak/
ENV KC_DB=postgres
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]