diff --git a/docker/services/keycloak/entrypoint.sh b/docker/services/keycloak/entrypoint.sh
index 25d6118200e6593f4214c6a703a94cd352c272ee..927611a252b1746f445012cf063a8e257b51f61d 100755
--- a/docker/services/keycloak/entrypoint.sh
+++ b/docker/services/keycloak/entrypoint.sh
@@ -7,7 +7,7 @@ cd
 if [ ! -d swh-keycloak-theme ]
 then
   git clone https://forge.softwareheritage.org/source/swh-keycloak-theme.git
-  ln -s /opt/jboss/swh-keycloak-theme/swh/ /opt/jboss/keycloak/themes/swh
+  cp -r /opt/jboss/swh-keycloak-theme/swh /opt/jboss/keycloak/themes/swh
 fi
 
 echo "Starting Keycloak"