Spaces:
Running
Running
Upload Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -167,7 +167,7 @@ ENTRYPOINT ["tini", "--", "sh", "-c", " \
|
|
167 |
echo \"*** Auto-configuring cloud-saves plugin with provided secrets ***\" && \
|
168 |
config_file=\"./plugins/cloud-saves/config.json\" && \
|
169 |
echo \"--- Creating config.json for cloud-saves plugin at $config_file ---\" && \
|
170 |
-
printf '{\\n \"repo_url\": \"%s\",\\n \"branch\": \"main\",\\n \"username\": \"\",\\n \"github_token\": \"%s\",\\n \"display_name\": \"user\",\\n \"is_authorized\": true,\\n \"last_save\": null,\\n \"current_save\": null,\\n \"has_temp_stash\": false,\\n \"autoSaveEnabled\":
|
171 |
chown node:node \"$config_file\" && \
|
172 |
echo \"*** cloud-saves plugin auto-configuration completed ***\"; \
|
173 |
else \
|
|
|
167 |
echo \"*** Auto-configuring cloud-saves plugin with provided secrets ***\" && \
|
168 |
config_file=\"./plugins/cloud-saves/config.json\" && \
|
169 |
echo \"--- Creating config.json for cloud-saves plugin at $config_file ---\" && \
|
170 |
+
printf '{\\n \"repo_url\": \"%s\",\\n \"branch\": \"main\",\\n \"username\": \"\",\\n \"github_token\": \"%s\",\\n \"display_name\": \"user\",\\n \"is_authorized\": true,\\n \"last_save\": null,\\n \"current_save\": null,\\n \"has_temp_stash\": false,\\n \"autoSaveEnabled\": true,\\n \"autoSaveInterval\": %s,\\n \"autoSaveTargetTag\": \"%s\"\\n}\\n' \"$REPO_URL\" \"$GITHUB_TOKEN\" \"${AUTOSAVE_INTERVAL:-30}\" \"${AUTOSAVE_TARGET_TAG:-}\" > \"$config_file\" && \
|
171 |
chown node:node \"$config_file\" && \
|
172 |
echo \"*** cloud-saves plugin auto-configuration completed ***\"; \
|
173 |
else \
|