Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michaelshobbs/cd29168b0ceaa4915ea9ea59c8181e6d to your computer and use it in GitHub Desktop.
Save michaelshobbs/cd29168b0ceaa4915ea9ea59c8181e6d to your computer and use it in GitHub Desktop.
diff --git a/plugins/ps/functions b/plugins/ps/functions
index 8599fc0..5a99494 100755
--- a/plugins/ps/functions
+++ b/plugins/ps/functions
@@ -42,7 +42,7 @@ generate_scale_file() {
local DOKKU_PROCFILE="$DOKKU_ROOT/$APP/DOKKU_PROCFILE"
verify_app_name "$APP"
- copy_from_image "$IMAGE" "/app/DOKKU_SCALE" "$DOKKU_ROOT/$APP" 2>/dev/null || true
+ copy_from_image "$IMAGE" "DOKKU_SCALE" "$DOKKU_ROOT/$APP" 2>/dev/null || true
if [[ ! -f $DOKKU_SCALE_FILE ]]; then
dokku_log_info1_quiet "DOKKU_SCALE file not found in app image. Generating one based on Procfile..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment