Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Use docker compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodearnest authored Nov 7, 2024
1 parent 4b9c6c2 commit 3b3ddb7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ build env="dev":
export GITREF=$(git rev-parse --short HEAD)

# build the thing
docker-compose build --pull {{ env }}
docker compose build --pull {{ env }}


# run tests in docker container
test: build
docker-compose run --rm test
docker compose run --rm test


# run dev server in docker container
serve: build
docker-compose up dev
docker compose up dev


# run command in dev container
run *args="bash": build
docker-compose run dev {{ args }}

docker compose run dev {{ args }}

# exec command in existing dev container
exec *args="bash": build
docker-compose exec dev {{ args }}
docker compose exec dev {{ args }}

0 comments on commit 3b3ddb7

Please sign in to comment.