From c472598bfcf8e17a4140684d350d76b9fbf9a1f6 Mon Sep 17 00:00:00 2001 From: Francis Mercier Date: Fri, 8 Mar 2024 19:40:27 -0500 Subject: [PATCH] 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) --- docker/HOW_TO_USE_DOCKER.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/HOW_TO_USE_DOCKER.md b/docker/HOW_TO_USE_DOCKER.md index 812119a6..9532fea0 100644 --- a/docker/HOW_TO_USE_DOCKER.md +++ b/docker/HOW_TO_USE_DOCKER.md @@ -75,7 +75,7 @@ mintplexlabs/anythingllm # Run this in powershell terminal $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"}; ` +If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; ` docker run -d -p 3001:3001 ` --cap-add SYS_ADMIN ` -v "$env:STORAGE_LOCATION`:/app/server/storage" `