Skip to content

Commit a300523

Browse files
committed
Purge and down removes docker-compose.yml and .env.local
1 parent bc69194 commit a300523

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Taskfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tasks:
6464
- stop
6565
cmds:
6666
- docker compose --env-file .env.local --env-file .env.docker.local -f docker-compose.yml down
67+
- rm -f docker-compose.yml .env.local
6768

6869
purge:
6970
desc: Remove all containers and volumes
@@ -79,6 +80,7 @@ tasks:
7980
else
8081
echo "External network 'frontend' does not exist"
8182
fi
83+
- rm -f docker-compose.yml .env.local
8284

8385
up:
8486
desc: Take the environment up without altering the existing state of the containers

0 commit comments

Comments
 (0)