Skip to content
Michael Woodward edited this page Feb 4, 2017 · 3 revisions

Runs docker build to create an image ready for use

Usage:
    workflow build [-p]

Options:
    -p      Production mode

Under the hood this will run the following command

docker build -t image/name -f app.php.dockerfile ./

or if you use the production flag -p it would run

docker build -t image/name -f app.php.dockerfile --build-arg BUILD_ENV=prod ./
Clone this wiki locally