Add compose build args

Add compose build args. https://docs.docker.com/compose/compose-file/#args
This commit is contained in:
Yash Thakkar 2019-10-20 12:49:43 +05:30 committed by Rico Sta. Cruz
parent 4cdd05f9aa
commit 7d314b24a4
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ docker-compose down
web: web:
# build from Dockerfile # build from Dockerfile
build: . build: .
args: # Add build arguments
APP_HOME: app
``` ```
```yaml ```yaml