Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
|
@@ -124,7 +124,11 @@ FROM heartexlabs/label-studio:latest
|
|
| 124 |
#
|
| 125 |
################################################################################
|
| 126 |
|
| 127 |
-
#
|
| 128 |
-
|
| 129 |
|
| 130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
#
|
| 125 |
################################################################################
|
| 126 |
|
| 127 |
+
# Define environment variable for Google application credentials
|
| 128 |
+
ENV GOOGLE_APPLICATION_CREDENTIALS_JSON=""
|
| 129 |
|
| 130 |
+
# Criar o diret贸rio e o arquivo de credenciais diretamente no Dockerfile
|
| 131 |
+
RUN mkdir -p /opt/heartex/secrets && \
|
| 132 |
+
echo "$GOOGLE_APPLICATION_CREDENTIALS_JSON" > /opt/heartex/secrets/key.json
|
| 133 |
+
|
| 134 |
+
CMD exec label-studio --host=$SPACE_HOST
|