Spaces:
Runtime error
Runtime error
Download Dockerfile from PetruZetta/Label_Studio: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/PetruZetta/Label_Studio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PetruZetta/Label_Studio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PetruZetta/Label_Studio/resolve/main/Dockerfile
1.02 kB
| FROM heartexlabs/label-studio:hf-latest | |
| ENV LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true | |
| ################################################################################ | |
| # | |
| # How to Enable Persistent Storage for Label Studio in Hugging Face Spaces | |
| # ------------------------------------------------------------------------ | |
| # | |
| # By default this space stores all project configuration and data annotations | |
| # in local storage with sqlite. If the space is reset, all configuration and | |
| # annotation data in the space will be lost. You can enable configuration | |
| # persistence through one of two methods: | |
| # | |
| # 1) Enabling Hugging Face Persistent Storage for saving project and annotation | |
| # settings, as well as local task storage. | |
| # 2) Connecting an external Postgres database for saving project and annotation | |
| # settings, and cloud by connecting cloud storage for tasks. | |
| # | |
| ################################################################################ | |
| ENV STORAGE_PERSISTENCE=1 | |
| CMD exec label-studio --host=$SPACE_HOST | |