Skip to content

Commit 6982467

Browse files
committed
fix: docker build
1 parent ce5b5e7 commit 6982467

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/build-with-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ fi
1212
docker run --rm -i \
1313
-u "$(id -u):$(id -g)" \
1414
-e "ACTION_MODE=${ACTION_MODE:-false}" \
15+
-e "npm_config_prefix=/workspace/cache/npm/node_global" \
16+
-e "npm_config_cache=/workspace/cache/npm/node_cache" \
1517
-w /workspace \
1618
-v "$root_dir:/workspace" \
1719
$image \

0 commit comments

Comments
 (0)