malt666 commited on
Commit
7803995
·
verified ·
1 Parent(s): 1d6f28b

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. 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\": false,\\n \"autoSaveInterval\": 30,\\n \"autoSaveTargetTag\": \"\"\\n}\\n' \"$REPO_URL\" \"$GITHUB_TOKEN\" > \"$config_file\" && \
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 \