Skip to content

Commit

Permalink
chore: prune images
Browse files Browse the repository at this point in the history
  • Loading branch information
nc1z committed Jul 14, 2024
1 parent 0641b78 commit 6d6f145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ build:
run:
@echo "Starting the application with Docker Compose..."
docker-compose -f $(COMPOSE_FILE) up --build -d settlements-enrichment-service postgres
@echo "Removing dangling images..."
docker image prune -f

# Run tests
.PHONY: test
test: build
@echo "Running tests..."
docker-compose -f $(COMPOSE_FILE) run --rm tests
@echo "Removing dangling images..."
docker image prune -f

# Stop the application and remove containers
.PHONY: stop
Expand Down

0 comments on commit 6d6f145

Please sign in to comment.