Unverified Commit 5a245c03 authored by Florent Chehab's avatar Florent Chehab
Browse files

fix(Makefile): --renew-anon-volumes for docker-compose

* Prevents errors related to the frontend container start
* Clean annonymous volumes on start
parent 4bcf89c9
......@@ -8,7 +8,7 @@ clear_setup:
rm server/envs/django.env
up: setup
docker-compose up --build
docker-compose up --build --renew-anon-volumes
dev: up
......@@ -68,7 +68,7 @@ prod: setup
$(info In production, we need to reset the webpack-stats.json file to make sure the front is up-to-date)
sudo rm -f frontend/webpack-stats.json
# Need higher compose timeout as the big map container can take a lot of time to wake up
COMPOSE_HTTP_TIMEOUT=600 docker-compose $(prod_yml) up --build -d
COMPOSE_HTTP_TIMEOUT=600 docker-compose $(prod_yml) up --build -d --renew-anon-volumes
docker-compose $(prod_yml) down
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment