Spaces:
Runtime error
Runtime error
# 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" \ | |
] |