Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -124,8 +124,7 @@ FROM heartexlabs/label-studio:latest
|
|
| 124 |
#
|
| 125 |
################################################################################
|
| 126 |
|
| 127 |
-
# Adiciona
|
| 128 |
-
COPY create_gcs_credentials.sh /
|
| 129 |
-
RUN chmod +x /opt/heartex/secrets/create_gcs_credentials.sh
|
| 130 |
|
| 131 |
-
CMD /
|
|
|
|
| 124 |
#
|
| 125 |
################################################################################
|
| 126 |
|
| 127 |
+
# Adiciona o script de criação de credenciais diretamente para um diretório acessível
|
| 128 |
+
COPY create_gcs_credentials.sh /app/create_gcs_credentials.sh
|
|
|
|
| 129 |
|
| 130 |
+
CMD /app/create_gcs_credentials.sh && exec label-studio --host=$SPACE_HOST
|