turborepo-remote-cache 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,10 +80,15 @@ For example:
|
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
### Enable remote caching in Docker
|
|
83
|
-
For some reason, the `.turbo/config.json` is not working in Docker containers. In order to enable remote caching
|
|
83
|
+
For some reason, the `.turbo/config.json` is not working in Docker containers. In order to enable remote caching in Docker, you need to pass the configuration via CLI arguments.
|
|
84
84
|
|
|
85
85
|
```json
|
|
86
|
-
"build": "turbo run build --team=\"
|
|
86
|
+
"build": "turbo run build --team=\"team_awesome\" --token=\"turbotoken\" --api=\"https://your-caching.server.dev\"",
|
|
87
|
+
```
|
|
88
|
+
and add this to your `Dockerfile` before calling the `turbo run build` command:
|
|
89
|
+
```docker
|
|
90
|
+
ENV VERCEL_ARTIFACTS_TOKEN=turbotoken
|
|
91
|
+
ENV VERCEL_ARTIFACTS_OWNER=team_awesome
|
|
87
92
|
```
|
|
88
93
|
|
|
89
94
|
## Deploy on Vercel
|