Spaces:
Runtime error
Runtime error
adding the custom_setting file into the build runtime
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
FROM docker.io/heartexlabs/label-studio:hf-latest
|
2 |
|
3 |
-
# Create
|
4 |
-
RUN mkdir -p /tmp/label-studio-
|
5 |
-
|
6 |
-
#
|
|
|
7 |
################################################################################
|
8 |
#
|
9 |
# How to Disable Public Account Creation
|
|
|
1 |
FROM docker.io/heartexlabs/label-studio:hf-latest
|
2 |
|
3 |
+
# Create the media directory in /tmp (writable by default)
|
4 |
+
RUN mkdir -p /tmp/label-studio-media
|
5 |
+
|
6 |
+
# Copy custom settings to override MEDIA_ROOT
|
7 |
+
COPY custom_settings.py /label-studio/label_studio/core/settings/custom.py
|
8 |
################################################################################
|
9 |
#
|
10 |
# How to Disable Public Account Creation
|