Skip to content

File copy improvements - #733

Open
pjcdawkins wants to merge 3 commits into
platformsh-templates:masterfrom
pjcdawkins:mount-improvements
Open

File copy improvements#733
pjcdawkins wants to merge 3 commits into
platformsh-templates:masterfrom
pjcdawkins:mount-improvements

Conversation

@pjcdawkins

Copy link
Copy Markdown

This is an alternative to #82 and #468, developed via testing on Upsun.

  • Use cp -Rs to copy directories but symlink files - to improve speed.
  • Only copy files if the build has changed (detected via the tree ID).
  • Wait for files to be copied before starting Next.js.

* Use `cp -Rs` to copy directories but symlink files - to improve speed.
* Only copy files if the build has changed (detected via the tree ID).
* Wait for files to be copied before starting Next.js.
* Add `set -e` to hooks to ensure a failing command will fail the hook.
* Remove handle_mounts.sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants