Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|