Skip to content

Commit

Permalink
Merged in avenderov/localstack/fix/make-docker-run (pull request loca…
Browse files Browse the repository at this point in the history
…lstack#48)

Removed duplicated SERVICES env variable.
  • Loading branch information
c00ler authored and whummer committed Apr 19, 2017
2 parents 3684929 + 1061e71 commit fd10720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ docker-push: ## Push Docker image to registry

docker-run: ## Run Docker image locally
port_mappings="$(shell echo $(SERVICES) | sed 's/[^0-9]/ /g' | sed 's/\([0-9][0-9]*\)/-p \1:\1/g' | sed 's/ */ /g')"; \
docker run -it -e DEBUG=$(DEBUG) -e SERVICES=$(SERVICES) -e KINESIS_ERROR_PROBABILITY=$(KINESIS_ERROR_PROBABILITY) -e SERVICES=$(SERVICES) -p 4567-4578:4567-4578 -p 8080:8080 $$port_mappings $(IMAGE_NAME)
docker run -it -e DEBUG=$(DEBUG) -e SERVICES=$(SERVICES) -e KINESIS_ERROR_PROBABILITY=$(KINESIS_ERROR_PROBABILITY) -p 4567-4578:4567-4578 -p 8080:8080 $$port_mappings $(IMAGE_NAME)

web: ## Start web application (dashboard)
($(VENV_RUN); bin/localstack web --port=8080)
Expand Down

0 comments on commit fd10720

Please sign in to comment.