Skip to content

Commit 45da26d

Browse files
authored
Update DefaultDeployer.php
1 parent 14a00ff commit 45da26d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Deployer/DefaultDeployer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ private function doInstallDependencies() : void
341341
}
342342

343343
$this->log('<h2>Installing Composer dependencies</>');
344-
$this->runRemote(sprintf('%s install %s', $this->getConfig(Option::remoteComposerBinaryPath), $this->getConfig(Option::composerInstallFlags)));
344+
$this->runRemote(sprintf('APP_ENV=prod %s install %s', $this->getConfig(Option::remoteComposerBinaryPath), $this->getConfig(Option::composerInstallFlags)));
345345
}
346346

347347
private function doInstallWebAssets() : void

0 commit comments

Comments
 (0)