Skip to content

Commit f580c36

Browse files
committed
oops!
1 parent bd6cee1 commit f580c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1414
test: $(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

1717
shell: $(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

2525
run: 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

2828
run-b: ## Build and run
2929
$(RM) build

0 commit comments

Comments
 (0)