Skip to content

Commit

Permalink
Merge pull request #2955 from jbarbin/chore/local-stack
Browse files Browse the repository at this point in the history
chore(local-stack): improve make targets and avoid node17 issues for docker
  • Loading branch information
bobdenotter authored Nov 28, 2021
2 parents 79a1cb6 + 322178e commit 9ca8374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ full-test: ## to run full tests
make test

db-create: ## to create database and load fixtures
bin/console doctrine:database:create
bin/console doctrine:database:create --if-not-exists
bin/console doctrine:schema:create -q
bin/console doctrine:migrations:sync-metadata-storage -q
bin/console doctrine:migrations:version --add --all -n -q
Expand Down Expand Up @@ -140,7 +140,7 @@ docker-stancheck: ## to run phpstane with docker
docker-compose exec -T php sh -c "vendor/bin/phpstan analyse -c phpstan.neon src"

docker-db-create: ## to create database and load fixtures with docker
docker-compose exec -T php sh -c "bin/console doctrine:database:create"
docker-compose exec -T php sh -c "bin/console doctrine:database:create --if-not-exists"
docker-compose exec -T php sh -c "bin/console doctrine:schema:create"
docker-compose exec -T php sh -c "bin/console doctrine:fixtures:load -n"

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
- /etc/nginx/conf.d/entrypoint.sh

node:
image: node:latest
image: node:16.13.0
volumes:
- ./:/home/node/app
working_dir: /home/node/app
Expand Down

0 comments on commit 9ca8374

Please sign in to comment.