From 164cc252351f1678161715ec47783f1b89549ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Litteri?= Date: Fri, 15 Dec 2023 17:23:37 -0300 Subject: [PATCH] Revert "Fix path to volume (relative path is not accepted in docker run -v)" This was an issue with Docker version, it should work with 24.0.0. This reverts commit 9d8a57d55848607e56d3019bcfb879dc80da9f7e. --- 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 b75ab48c04b9..b79c90e8b7d7 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);