Skip to content

Commit 78af907

Browse files
committed
Update PORTS formatting and add platform specification in update-env-php.js
1 parent 2ee0ee7 commit 78af907

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-packages/magento-scripts/lib/tasks/php/update-env-php.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const updateEnvPHP = () => ({
6262
REDIS_PORT: ctx.ports.redis,
6363
ADMIN_URI: ctx.config.overridenConfiguration.magento.adminuri,
6464
HOST_MACHINE: hostMachine,
65-
PORTS: JSON.stringify(ctx.ports)
65+
PORTS: `'${JSON.stringify(ctx.ports)}'`
6666
},
6767
command: 'php ./update-env.php',
6868
mountVolumes: [
@@ -72,6 +72,7 @@ const updateEnvPHP = () => ({
7272
`${envPhpPath}:${ctx.config.baseConfig.containerMagentoDir}/env.php`
7373
],
7474
image: php.image,
75+
platform: php.platform,
7576
detach: false,
7677
rm: true
7778
})

0 commit comments

Comments
 (0)