Spaces:
Sleeping
Sleeping
FROM heartexlabs/label-studio:hf-latest | |
################################################################################ | |
# | |
# Disable Public Account Creation | |
# -------------------------------------- | |
ENV LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINK=true | |
# | |
################################################################################ | |
# | |
# Enable Hugging Face Persistent Storage for Label Studio | |
# -------------------------------------------------------------- | |
# | |
# In the Hugging Face Label Studio Space settings, select the appropriate | |
# Persistent Storage tier. Note that Persistent Storage is a paid add-on. | |
# By default, persistent storage is mounted to /data. In your Space settings, | |
# set the following variables: | |
# | |
ENV LABEL_STUDIO_BASE_DATA_DIR=/data | |
ENV STORAGE_PERSISTENCE=1 | |
# | |
# Amazon S3 | |
# ========= | |
# STORAGE_TYPE=s3 | |
# STORAGE_AWS_ACCESS_KEY_ID="<YOUR_ACCESS_KEY_ID>" | |
# STORAGE_AWS_SECRET_ACCESS_KEY="<YOUR_SECRET_ACCESS_KEY>" | |
# STORAGE_AWS_BUCKET_NAME="<YOUR_BUCKET_NAME>" | |
# STORAGE_AWS_REGION_NAME="<YOUR_BUCKET_REGION>" | |
# STORAGE_AWS_FOLDER="" | |
################################################################################ | |
CMD exec label-studio --host=$SPACE_HOST | |