Skip to content

Commit 53c1bae

Browse files
committed
Add WP_CLI_ALLOW_ROOT env var to Dockerfile
1 parent 37ae14f commit 53c1bae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/docker/Dockerfile.monorepo

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ ENV LANG=en_US.UTF-8 \
1313
JETPACK_MONOREPO_ENV=1 \
1414
PNPM_HOME=/usr/local/pnpm \
1515
PATH="/usr/local/pnpm:${PATH}" \
16-
npm_config_update_notifier=false
16+
npm_config_update_notifier=false \
17+
WP_CLI_ALLOW_ROOT=1
1718

1819
WORKDIR /app
1920

0 commit comments

Comments
 (0)