Skip to content

Commit 7b02874

Browse files
committed
fix: Update Docker command syntax in build-and-push script
1 parent b6d88e1 commit 7b02874

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/deployment/production/build-and-push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ echo "Final tag to be used: $TAG"
4040

4141
# Stop any running containers
4242
echo "Stopping any running containers..."
43-
docker-compose -f docker-compose.prod-test.yml down --remove-orphans || true
43+
docker compose -f docker-compose.prod-test.yml down --remove-orphans || true
4444

4545
# Build the production images
4646
echo "Building production Docker images..."
47-
docker-compose -f docker-compose.prod-test.yml build
47+
docker compose -f docker-compose.prod-test.yml build
4848

4949
# Tag and push backend image
5050
echo "Tagging and pushing backend image..."

0 commit comments

Comments
 (0)