Skip to content

Commit

Permalink
attempt to fix import problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mk2301 committed Feb 2, 2023
1 parent 8f64ca0 commit e78a9c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/keycloak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ FROM quay.io/keycloak/keycloak:20.0.3

COPY ./import/*.json /opt/keycloak/data/import/

RUN /opt/keycloak/bin/kc.sh import --dir /opt/keycloak/data/import
#RUN /opt/keycloak/bin/kc.sh import --dir /opt/keycloak/data/import

ENV KEYCLOAK_IMPORT=/opt/keycloak/data/import
ENV ROOT_LOGLEVEL=ALL
ENV KEYCLOAK_LOGLEVEL=ALL

CMD ["start-dev", "-Dkeycloak.profile.feature.upload_scripts=enabled"]
CMD ["start-dev"]

0 comments on commit e78a9c8

Please sign in to comment.