Updated
- docker env
This commit is contained in:
9
Makefile
9
Makefile
@@ -5,6 +5,9 @@ DOCKER_COMP_EXEC:=$(DOCKER_COMP) exec
|
||||
|
||||
# Docker containers
|
||||
PHP_CONT = $(DOCKER_COMP_EXEC) php
|
||||
NODE_CONT = $(DOCKER_COMP_EXEC) node
|
||||
|
||||
|
||||
|
||||
# Executables
|
||||
PHP = $(PHP_CONT) php
|
||||
@@ -140,10 +143,10 @@ consume: ## Consume messages
|
||||
|
||||
## —— Webpack Encore —————————————————————————————————————————————————————————————
|
||||
npm-install: ## Install npm dependencies
|
||||
@$(DOCKER_COMP) exec php npm install
|
||||
@$(DOCKER_COMP) exec node npm install
|
||||
|
||||
npm-run: ## Run the dev server
|
||||
@$(DOCKER_COMP) exec php npm run dev
|
||||
@$(DOCKER_COMP) exec node npm run dev
|
||||
|
||||
npm-watch: ## Watch for changes
|
||||
@$(DOCKER_COMP) exec php npm run watch
|
||||
@$(DOCKER_COMP) exec node npm run watch
|
||||
|
||||
Reference in New Issue
Block a user