phmei96 commited on
Commit
c4263cd
·
verified ·
1 Parent(s): a78dc6e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -125,4 +125,5 @@ ENV STORAGE_PERSISTENCE=1
125
  #
126
  ################################################################################
127
  RUN mkdir -p /label-studio/data/media && chmod -R 777 /label-studio/data
128
- CMD exec label-studio --host=$SPACE_HOST
 
 
125
  #
126
  ################################################################################
127
  RUN mkdir -p /label-studio/data/media && chmod -R 777 /label-studio/data
128
+ CMD sh -c 'exec label-studio --host="$SPACE_HOST" --data-dir /data'
129
+ #CMD exec label-studio --host=$SPACE_HOST