Skip to content

Commit

Permalink
Revert "Fix path to volume (relative path is not accepted in docker r…
Browse files Browse the repository at this point in the history
…un -v)"

This was an issue with Docker version, it should work with 24.0.0.

This reverts commit 9d8a57d.
  • Loading branch information
ilitteri committed Dec 15, 2023
1 parent 9d8a57d commit 164cc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/zk/src/down.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as utils from './utils';
export async function down() {
await utils.spawn('docker compose down -v');
await utils.spawn('docker compose rm -s -f -v');
await utils.spawn('docker run --rm -v volumes:/volumes postgres:14 bash -c "rm -rf /volumes/*"');
await utils.spawn('docker run --rm -v ./volumes:/volumes postgres:14 bash -c "rm -rf /volumes/*"');
}

export const command = new Command('down').description('stop development containers').action(down);

0 comments on commit 164cc25

Please sign in to comment.