Improve docker build process

This commit is contained in:
2018-04-29 13:48:32 +03:00
parent abadb39b84
commit 29cacbbe4f
3 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,11 @@
source .env
docker pull ${PHP_BASE_IMAGE}
docker pull ${NODE_IMAGE}
docker build \
--file docker/Dockerfile \
--build-arg PHP_BASE_IMAGE=${PHP_BASE_IMAGE} \
--tag ${PHP_IMAGE} \
$PWD