Commit 085cd1bd authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

Still working on pages pipeline stage.

parent 71ae71c0
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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