You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: layouts/shortcodes/content/cached-dependencies.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@
5
5
You can enable dependencies caching by adding the `CC_CACHE_DEPENDENCIES=true`[environment variable](#setting-up-environment-variables-on-clever-cloud) in your application. It's enabled by default only for Haskell and Rust applications.
6
6
7
7
To add folders to the dependencies cache, use `CC_CACHE_DEPENDENCIES_EXTRA_PATHS`. These paths should comply with the following rules:
8
-
- Be a subdirectory of the `$HOME` directory
8
+
- Be a subdirectory of the `$HOME` directory, but not the whole `$HOME` directory
9
+
- Be a sibling or a child of the whole `$APP_HOME` directory, but not the whole `$APP_HOME` directory
9
10
- Be relative to the application root directory (e.g. `vendor`, `../dependencies`)
10
11
- Be separated by a `:` if you want to add multiple paths (e.g. `CC_CACHE_DEPENDENCIES_EXTRA_PATHS=vendor:../dependencies`)
0 commit comments