Skip to content

Commit

Permalink
feat: remove orphan containers when doing make up
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Dec 9, 2022
1 parent 66fea3b commit 6452db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ up:
@echo "🥫 Building and starting containers …"
docker network create po_default || true
ifdef service
${DOCKER_COMPOSE} up -d ${service} 2>&1
${DOCKER_COMPOSE} up --remove-orphans -d ${service} 2>&1
else
${DOCKER_COMPOSE} up -d 2>&1
endif
Expand Down

0 comments on commit 6452db7

Please sign in to comment.