File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ help: ## Show all Makefile targets.
1212 @grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' Makefile | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
1313
1414test : $(DEV_CONTAINER_IMG ) # # Run unit tests
15- @$(CONTAINER_CMD ) run -it - -rm -v ./src:/opt/app:ro -w /opt/app --entrypoint resty $(DEV_CONTAINER_IMG ) tests.lua
15+ @$(CONTAINER_CMD ) run --rm -v ./src:/opt/app:ro -w /opt/app --entrypoint resty $(DEV_CONTAINER_IMG ) tests.lua
1616
1717shell : $(DEV_CONTAINER_IMG ) # # Get resty shell
1818 @$(CONTAINER_CMD ) run -it --rm -v ./src:/opt/app:ro -v ./var:/var/app/www -w /opt/app --entrypoint sh $(DEV_CONTAINER_IMG )
@@ -23,7 +23,7 @@ build: ## Build prod
2323 touch build
2424
2525run : build # # Run production docker build
26- - $(CONTAINER_CMD ) run --rm -p $(PORT ) :8000 -e SERVICE_BASE_URL=http://localhost:8000 $(PROD_CONTAINER_IMG )
26+ - $(CONTAINER_CMD ) run -it - -rm -p $(PORT ) :8000 -e SERVICE_BASE_URL=http://localhost:8000 $(PROD_CONTAINER_IMG )
2727
2828run-b : # # Build and run
2929 $(RM ) build
You can’t perform that action at this time.
0 commit comments