Skip to content

Commit

Permalink
Add Makefile 'docker run benchmark' target
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-ssvlabs committed Sep 6, 2024
1 parent 35a031d commit 4c0240b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BINARY_NAME=pulse
DOCKER_IMAGE_NANE=pulse
CONFIG_DIR=./configs
CONFIG_FILE=config.yaml
PORT=8080

.PHONY: build
build:
Expand All @@ -22,6 +23,10 @@ run-analyzer: build
.PHONY: docker-build
docker-build:
docker build -t ${DOCKER_IMAGE_NANE} -f build/Dockerfile .

.PHONY: docker-run-benchmark
docker-run-benchmark:
docker run -p ${PORT}:${PORT} ${DOCKER_IMAGE_NANE} benchmark --port=${PORT}
##########

.PHONY: clean
Expand Down

0 comments on commit 4c0240b

Please sign in to comment.