broke currently
This commit is contained in:
4
Makefile
4
Makefile
@ -41,6 +41,10 @@ down:
|
||||
|
||||
rebuild:
|
||||
$(DOCKER_COMPOSE) down -v --remove-orphans
|
||||
$(DOCKER_COMPOSE) build
|
||||
$(DOCKER_COMPOSE) up -d db
|
||||
sleep 5 # give MySQL a moment to initialize
|
||||
$(DOCKER_COMPOSE) exec -T db mysql -uroot -p$$(grep MYSQL_ROOT_PASSWORD .env | cut -d '=' -f2) -e "DROP DATABASE IF EXISTS natureinpots; CREATE DATABASE natureinpots CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
|
||||
$(DOCKER_COMPOSE) up --build -d
|
||||
@$(MAKE) wait
|
||||
|
||||
|
Reference in New Issue
Block a user