Loading csp-lmc-mid/docker/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ test: build up ## test the application status=$$?; \ rm -fr build; \ #docker-compose $(COMPOSE_FILE_ARGS) logs; docker cp $(BUILD):/build .; \ docker cp $(BUILD):/build $(DOCKER_BUILD_CONTEXT); \ docker rm -f -v $(BUILD); \ $(MAKE) down; \ exit $$status Loading Loading @@ -165,7 +165,7 @@ piplock: build ## overwrite Pipfile.lock with the image version interactive: up interactive: ## start an interactive session using the project image (caution: R/W mounts source directory to /app) docker run --rm -it -p 3000:3000 --name=$(CONTAINER_NAME_PREFIX)dev -e TANGO_HOST=$(TANGO_HOST) --network=$(NETWORK_MODE) \ -v $(CURDIR):/app $(IMAGE_TO_TEST) /bin/bash -v $(CURDIR)/..:/app $(IMAGE_TO_TEST) /bin/bash down: ## stop develop/test environment and any interactive session docker ps | grep $(CONTAINER_NAME_PREFIX)dev && docker stop $(PROJECT)-dev || true Loading Loading
csp-lmc-mid/docker/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ test: build up ## test the application status=$$?; \ rm -fr build; \ #docker-compose $(COMPOSE_FILE_ARGS) logs; docker cp $(BUILD):/build .; \ docker cp $(BUILD):/build $(DOCKER_BUILD_CONTEXT); \ docker rm -f -v $(BUILD); \ $(MAKE) down; \ exit $$status Loading Loading @@ -165,7 +165,7 @@ piplock: build ## overwrite Pipfile.lock with the image version interactive: up interactive: ## start an interactive session using the project image (caution: R/W mounts source directory to /app) docker run --rm -it -p 3000:3000 --name=$(CONTAINER_NAME_PREFIX)dev -e TANGO_HOST=$(TANGO_HOST) --network=$(NETWORK_MODE) \ -v $(CURDIR):/app $(IMAGE_TO_TEST) /bin/bash -v $(CURDIR)/..:/app $(IMAGE_TO_TEST) /bin/bash down: ## stop develop/test environment and any interactive session docker ps | grep $(CONTAINER_NAME_PREFIX)dev && docker stop $(PROJECT)-dev || true Loading