16 lines
283 B
Bash
Executable File
16 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
|
|
COMPOSE_DIR="./"
|
|
CACHE_VOLUME="app_nextjs_cache"
|
|
|
|
echo "Bringing down containers..."
|
|
cd $COMPOSE_DIR && docker compose down
|
|
|
|
echo "Removing Next.js cache volume..."
|
|
docker volume rm $CACHE_VOLUME
|
|
|
|
echo "Bringing containers back up..."
|
|
docker compose up -d
|
|
|
|
echo "Done."
|