Skip to content

Commit

Permalink
Merge pull request #778 from brave-intl/hotfix/docker-compose-reference
Browse files Browse the repository at this point in the history
Fix docker compose
  • Loading branch information
Sneagan authored Dec 27, 2024
2 parents 5b9be47 + cee9282 commit 4024432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
docker-psql:
docker-compose exec postgres psql -U btokens
docker compose exec postgres psql -U btokens

docker-dev:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass /bin/bash
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass /bin/bash

docker-test:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass bash -c \
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass bash -c \
"(aws dynamodb delete-table \
--table-name redemptions --endpoint-url http://dynamodb:8000 --region us-west-2 || \
aws dynamodb create-table \
Expand All @@ -16,7 +16,7 @@ docker-test:
&& go test -v ./..."

docker-lint:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass golangci-lint run
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -p 2416:2416 challenge-bypass golangci-lint run

docker:
docker build -t brave/challenge-bypass:$$(git rev-parse --short HEAD) .
Expand Down

0 comments on commit 4024432

Please sign in to comment.