File size: 499 Bytes
2b21269
5c7d94f
4f679f1
d027c97
 
 
cc218a5
d027c97
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Use the official Label Studio image as the base
FROM heartexlabs/label-studio:latest

# Bypass the base image's problematic entrypoint script.
# We set the entrypoint directly to the label-studio executable.
ENTRYPOINT ["label-studio"]

# Now we provide the arguments directly to the executable.
# This command cannot be ignored or overridden by any script.
CMD [ \
    "start", \
    "my_project", \
    "--no-browser", \
    "--host", "0.0.0.0", \
    "--data-dir", "/data/label-studio-data" \
]