Upload JS policy with Dockerfile

Im trying to enable and upload a policy in Keycloak with Dockerfile. The jar file seems to be loaded in Keycloak but then it doesn’t appear in the Policies available in the providers.