Skip to content

Secure HF assets from private folder #149

@BenDes21

Description

@BenDes21

Hi there, sorry noob question but Im looking to secure the files of my dockerfile that I download from my public HF repo with the command RUN comfy model download.

Would like to set my HF repo to private for protect the files so I will have to use a HF token for download them with my dockerfile.

Issue is that Im not sure I can set a env variable for that so I will have to hardcode my hf token into the dockerfile which is not safe, any solutions ? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions