Spaces:
Paused
Paused
Download Dockerfile_I from binary1ne/keycloak: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/spaces/binary1ne/keycloak/resolve/main/Dockerfile_I
- Command line
-
hf download hf://spaces/binary1ne/keycloak/Dockerfile_I
-
curl -L -o Dockerfile_I https://huggingface.co/spaces/binary1ne/keycloak/resolve/main/Dockerfile_I
632 Bytes
| FROM quay.io/keycloak/keycloak:25.0.6 as builder | |
| ENV KC_DB=dev-mem | |
| ENV KEYCLOAK_ADMIN= $USERNAME | |
| ENV KEYCLOAK_ADMIN_PASSWORD= $PASSWORD | |
| WORKDIR /opt/keycloak | |
| RUN /opt/keycloak/bin/kc.sh build | |
| FROM quay.io/keycloak/keycloak:25.0.6 | |
| COPY --from=builder /opt/keycloak/ /opt/keycloak/ | |
| WORKDIR /opt/keycloak | |
| EXPOSE 7860 | |
| CMD ["/opt/keycloak/bin/kc.sh", "start", "--help"] | |
| ENTRYPOINT ["/opt/keycloak/bin/kc.sh" ] | |
| CMD ["start",\ | |
| "--http-port=7860", \ | |
| "--http-enabled=true",\ | |
| "--http-host=0.0.0.0", \ | |
| "--metrics-enabled=true",\ | |
| "--hostname-strict=false", \ | |
| "--proxy-headers=xforwarded",\ | |
| "--proxy=edge"] | |