Commit 21e956d
committed
WKBCH-26: Launch vault via node instead of yarn start
Vault 7.89.0 ships an .npmrc referencing ${NODE_AUTH_TOKEN} for build-time
package authentication. Invoking yarn at container start makes yarn read
that file and abort with 'Failed to replace env in config: ${NODE_AUTH_TOKEN}'
because the variable is unset at runtime.
Match the production Vault and MetaData pattern by launching the node entry
point directly. This is what 'yarn start' resolves to (see Vault's package.json)
and avoids reading the .npmrc altogether.1 parent 3733d90 commit 21e956d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments