Skip to content

Commit

Permalink
fixing npx script with docker compose instead of docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed May 6, 2024
1 parent 1fc26f7 commit 2e18f34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions boxes/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "create-aztec-app",
"packageManager": "[email protected]",
"version": "0.4.2",
"version": "0.4.4",
"type": "module",
"private": true,
"scripts": {
"compile": "yarn workspaces foreach -A -v run compile",
"build": "yarn workspaces foreach -A -v run build",
Expand Down
6 changes: 3 additions & 3 deletions boxes/scripts/steps/sandbox/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import axios from "axios";

const sandbox = (command) =>
execSync(
`docker-compose -f $HOME/.aztec/docker-compose.yml -p sandbox ${command}`,
{ stdio: "inherit" },
`docker compose -f $HOME/.aztec/docker-compose.yml -p sandbox ${command}`,
{ stdio: "inherit" }
);

export const start = () => sandbox("up -d");
Expand All @@ -29,7 +29,7 @@ export async function sandboxRunStep() {
Accept: "*/*",
"Content-Type": "application/json",
},
},
}
);
spinner.succeed();
success("The Sandbox is already running!");
Expand Down

0 comments on commit 2e18f34

Please sign in to comment.