Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -96,8 +96,10 @@ ENV STORAGE_PERSISTENCE=1
|
|
| 96 |
#
|
| 97 |
################################################################################
|
| 98 |
|
| 99 |
-
RUN --mount=type=secret,id=POSTGRESQL_DB,mode=0444,required=true \
|
| 100 |
-
|
| 101 |
-
|
|
|
|
|
|
|
| 102 |
|
| 103 |
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) && git branch -m label_dev
|
| 102 |
+
|
| 103 |
+
RUN --mount=type=secret,id=POSTGRESQL_DB,mode=0444,required=true
|
| 104 |
|
| 105 |
CMD exec label-studio --host=$SPACE_HOST
|