def METHOD_NAME(uid, script):
    cmd = (
        "cd; "
        + os.path.join(CASAPY, "casapy")
        + ' --colors=NoColor --nologger --nogui -c "%s"' % (script)
    )
    return dropdict(
        {
            "oid": str(uid),
            "categoryType": "Application",
            "dropclass": "dlg.apps.dockerapp.DockerApp",
            "image": "dfms/casapy_centos7_dfms:0.1",
            "command": cmd,
            "user": "dfms",
            "node": "localhost",
            "island": "localhost",
        }
    )