Skip to content

Commit

Permalink
Merge pull request #7 from 0xPolygonID/update_docker_file
Browse files Browse the repository at this point in the history
chore: update dockerfile
  • Loading branch information
martinsaporiti authored Dec 20, 2023
2 parents ee097dd + 493101d commit 3363ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build/docker: ## Build the docker image.
DOCKER_BUILDKIT=1 \
docker build \
-f ./Dockerfile \
-t 0xpolygon/verifier-backend:$(VERSION) \
-t polygonid/verifier-backend:$(VERSION) \
--build-arg VERSION=$(VERSION) \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
.
Expand Down Expand Up @@ -43,7 +43,7 @@ lint: $(BIN)/golangci-lint

.PHONY: run
run: build/docker
docker run --env-file ./.env -p 3010:3010 -d --name verifier-backend 0xpolygon/verifier-backend:latest
docker run --env-file ./.env -p 3010:3010 -d --name verifier-backend polygonid/verifier-backend:$(VERSION)


.PHONY: stop
Expand Down

0 comments on commit 3363ac2

Please sign in to comment.