diff --git a/Makefile b/Makefile index 4f6c609..843c222 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +include .env + all: copy-env docker-compose up -d --build @@ -8,13 +10,14 @@ clean: docker-compose down local: copy-env +ifeq ($(SGX_ENABLED), true) + docker-compose -f docker-compose.sgx.yml -f docker-compose.local.yml up -d --build +else docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d --build +endif clean-local: docker-compose -f docker-compose.yml -f docker-compose.local.yml down ganache: docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d --build ganache-cli - -sgx: copy-env - docker-compose -f docker-compose.sgx.yml -f docker-compose.local.yml up -d --build