chore: add node docker service for vite dev server and prod build
This commit is contained in:
9
Makefile
9
Makefile
@@ -55,6 +55,15 @@ symfony\:cache-clear: ## Vide le cache Symfony
|
||||
test: ## Lance les tests PHPUnit
|
||||
docker compose exec app php bin/phpunit
|
||||
|
||||
node\:shell: ## Ouvre un shell dans le conteneur node
|
||||
docker compose exec node sh
|
||||
|
||||
node\:install: ## Installe les dépendances npm
|
||||
docker compose exec node npm install
|
||||
|
||||
node\:build: ## Build les assets pour la production
|
||||
docker compose exec node npm run build
|
||||
|
||||
help: ## Affiche cette aide
|
||||
@grep -E '^[a-zA-Z_\\:-]+:.*## ' $(MAKEFILE_LIST) \
|
||||
| awk 'BEGIN {FS = "## "} {gsub(/\\:/, ":", $$1); sub(/:[^:]*$$/, "", $$1); printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
Reference in New Issue
Block a user