deploy: use build cache
This commit is contained in:
parent
b750dd8995
commit
bb43127ab4
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ git -C "$ROOT_DIR" pull
|
|||
echo "Stopping containers..."
|
||||
docker compose -f "$COMPOSE_FILE" down
|
||||
|
||||
echo "Building containers (no cache)..."
|
||||
docker compose -f "$COMPOSE_FILE" build --no-cache
|
||||
echo "Building containers (using cache)..."
|
||||
docker compose -f "$COMPOSE_FILE" build
|
||||
|
||||
echo "Starting containers..."
|
||||
docker compose -f "$COMPOSE_FILE" up -d --force-recreate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue