Skip to content

Commit

Permalink
fix: hard link environment variable (#20467) (#20468)
Browse files Browse the repository at this point in the history
On docker based deploys symlinking inside volume doesn't work.

[skip ci]

(cherry picked from commit f089e91)

Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
mergify[bot] and ankush committed Mar 27, 2023
1 parent 7e52a47 commit e388baf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frappe/commands/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
@click.command("build")
@click.option("--app", help="Build assets for app")
@click.option(
"--hard-link", is_flag=True, default=False, help="Copy the files instead of symlinking"
"--hard-link",
is_flag=True,
default=False,
help="Copy the files instead of symlinking",
envvar="FRAPPE_HARD_LINK_ASSETS",
)
@click.option(
"--make-copy",
Expand Down

0 comments on commit e388baf

Please sign in to comment.