Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ compose-build:
@export MINEXUS_ENV=$${MINEXUS_ENV:-test}; \
echo "Building Docker images for $$MINEXUS_ENV environment..."; \
[ "$$MINEXUS_ENV" = "prod" ] && $(MAKE) certs-prod || true; \
if [ ! -d "binaries" ] || [ -z "$$(ls -A binaries 2>/dev/null)" ]; then \
echo "Binaries directory missing or empty, building binaries for all platforms..."; \
$(MAKE) build-binaries; \
fi; \
docker compose --env-file .env.$$MINEXUS_ENV build

## compose-run: Run application in specified environment (default: test)
Expand Down
Loading