guitosi commited on
Commit
5b8ddce
1 Parent(s): 3c7ffcf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -96,4 +96,9 @@ ENV STORAGE_PERSISTENCE=1
96
  #
97
  ################################################################################
98
 
 
 
 
 
 
99
  CMD exec label-studio --host=$SPACE_HOST
 
96
  #
97
  ################################################################################
98
 
99
+ RUN --mount=type=secret,id=POSTGRESQL_DB,mode=0444,required=true \
100
+ git init && \
101
+ git remote add origin $(cat /run/secrets/POSTGRESQL_DB)
102
+
103
+
104
  CMD exec label-studio --host=$SPACE_HOST