diff --git a/README.md b/README.md index 33b530b..3dcbad0 100644 --- a/README.md +++ b/README.md @@ -122,10 +122,10 @@ The app have two npm scripts for adding a new customer: Run either of the two scripts using `npm run `. -If running inside docker, you can run it using `docker-compose`, e.g: +If running inside docker, you can run it using `docker compose`, e.g: ``` -docker-compose exec opbeans-node npm run customer-add-redos +docker compose exec opbeans-node npm run customer-add-redos ``` ## License diff --git a/tests/tests.bats b/tests/tests.bats index 4ab74be..471c5ea 100644 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -9,12 +9,12 @@ CONTAINER="opbeans-node" @test "build image" { cd $BATS_TEST_DIRNAME/.. - run docker-compose build + run docker compose build assert_success } @test "create test container" { - run docker-compose up -d + run docker compose up -d assert_success } @@ -32,6 +32,6 @@ CONTAINER="opbeans-node" } @test "clean test containers" { - run docker-compose down + run docker compose down assert_success }