File size: 1,178 Bytes
7d4b8fc
 
 
 
6bde438
7d4b8fc
a2c061b
7d4b8fc
 
 
6bde438
7d4b8fc
 
 
 
 
 
 
8f17952
1d19a0f
7d4b8fc
 
 
13f4e84
7d4b8fc
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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