From 9d8a57d55848607e56d3019bcfb879dc80da9f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Litteri?= Date: Thu, 14 Dec 2023 13:18:45 -0300 Subject: [PATCH] Fix path to volume (relative path is not accepted in docker run -v) --- infrastructure/zk/src/down.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/zk/src/down.ts b/infrastructure/zk/src/down.ts index b79c90e8b7d7..b75ab48c04b9 100644 --- a/infrastructure/zk/src/down.ts +++ b/infrastructure/zk/src/down.ts @@ -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);