binary1ne commited on
Commit
5919aaa
·
verified ·
1 Parent(s): bd6e5a0

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -----------------------------
2
+ # Keycloak with in-memory DB (no persistence)
3
+ # -----------------------------
4
+ ARG KEYCLOAK_VERSION=25.0.6
5
+ FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
6
+
7
+ ENV KEYCLOAK_ADMIN=admin \
8
+ KEYCLOAK_ADMIN_PASSWORD=admin
9
+
10
+ # Expose Hugging Face default port
11
+ EXPOSE 7860
12
+
13
+ # Start Keycloak in dev mode (in-memory DB, no Liquibase errors)
14
+ ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
15
+ CMD ["start-dev", "--http-port=7860", "--hostname-strict=false", "--hostname=0.0.0.0"]