Skip to content

Commit

Permalink
Fix make start
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsin-plivo committed Oct 17, 2024
1 parent 4cfadab commit 124426f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ build:

start:
docker-compose up --build --remove-orphans --detach
docker attach $(shell docker-compose ps -q goSDK)
# Wait for the container to be running before attaching
@while [ -z "$$(docker-compose ps -q goSDK)" ]; do \
sleep 1; \
done
docker attach $$(docker-compose ps -q goSDK)

test:
@[ "${CONTAINER}" ] && \
Expand Down

0 comments on commit 124426f

Please sign in to comment.