From 31ff4f08322efa57f1ad8b673c0c67d5c3be7ddc Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Wed, 20 Dec 2023 11:40:04 -0800 Subject: [PATCH] docs: chain windows docker commands for single enter run --- docker/HOW_TO_USE_DOCKER.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/HOW_TO_USE_DOCKER.md b/docker/HOW_TO_USE_DOCKER.md index f7601750..3a2875e9 100644 --- a/docker/HOW_TO_USE_DOCKER.md +++ b/docker/HOW_TO_USE_DOCKER.md @@ -55,9 +55,9 @@ mintplexlabs/anythingllm:master ```powershell -$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; -If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; -If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env"}; +$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; ` +If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; ` +If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env"}; ` docker run -d -p 3001:3001 ` --cap-add SYS_ADMIN ` -v "$env:STORAGE_LOCATION`:/app/server/storage" `