DLesmes commited on
Commit
d6eb324
·
verified ·
1 Parent(s): 9fb1c12

adding the custom_setting file into the build runtime

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  FROM docker.io/heartexlabs/label-studio:hf-latest
2
 
3
- # Create directories in /tmp (writable by default)
4
- RUN mkdir -p /tmp/label-studio-data /tmp/label-studio-media
5
-
6
- # 1001 is a common user ID in containers
 
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