mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-10-01 00:10:10 +02:00
HOW_TO_USE_DOCKER.md - Missing -ItemType File for .env creation (#879)
Update HOW_TO_USE_DOCKER.md Missing New-Item -ItemType for .env default to a folder when it should be a file (Docker won't run when that happen since a file is expected)
This commit is contained in:
parent
0117589bbf
commit
c472598bfc
@ -75,7 +75,7 @@ mintplexlabs/anythingllm
|
|||||||
# Run this in powershell terminal
|
# Run this in powershell terminal
|
||||||
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; `
|
$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)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; `
|
||||||
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env"}; `
|
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; `
|
||||||
docker run -d -p 3001:3001 `
|
docker run -d -p 3001:3001 `
|
||||||
--cap-add SYS_ADMIN `
|
--cap-add SYS_ADMIN `
|
||||||
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
|
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
|
||||||
|
Loading…
Reference in New Issue
Block a user