Skip to content

Commit

Permalink
docs: chain windows docker commands for single enter run
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycarambat committed Dec 20, 2023
1 parent c613eff commit 31ff4f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/HOW_TO_USE_DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ mintplexlabs/anythingllm:master
<td>

```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" `
Expand Down

0 comments on commit 31ff4f0

Please sign in to comment.